oass 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/oass/client/campaign.rb
CHANGED
@@ -18,40 +18,40 @@ module Oass
|
|
18
18
|
xml.AdvertiserId attributes[:advertiser_id]
|
19
19
|
xml.Name attributes[:name]
|
20
20
|
xml.AgencyId attributes[:agency_id]
|
21
|
-
xml.Description attributes[:description]
|
22
|
-
xml.CampaignManager attributes[:campaign_manager]
|
21
|
+
xml.Description attributes[:description] if attributes[:description]
|
22
|
+
xml.CampaignManager attributes[:campaign_manager] if attributes[:campaign_manager]
|
23
23
|
xml.ProductId attributes[:product_id]
|
24
24
|
xml.ExternalUsers do
|
25
25
|
attributes[:external_users].each do |user_id|
|
26
26
|
xml.UserId user_id
|
27
27
|
end
|
28
28
|
end if attributes[:external_users]
|
29
|
-
xml.InternalQuickReport attributes[:internal_quick_report]
|
30
|
-
xml.ExternalQuickReport attributes[:external_quick_report]
|
29
|
+
xml.InternalQuickReport attributes[:internal_quick_report] if attributes[:internal_quick_report]
|
30
|
+
xml.ExternalQuickReport attributes[:external_quick_report] if attributes[:external_quick_report]
|
31
31
|
end
|
32
32
|
|
33
33
|
if schedule = attributes[:schedule]
|
34
34
|
xml.Schedule do
|
35
|
-
xml.Impressions schedule[:impressions]
|
36
|
-
xml.Clicks schedule[:clicks]
|
37
|
-
xml.Uniques schedule[:uniques]
|
38
|
-
xml.Weight schedule[:weight]
|
39
|
-
xml.PriorityLevel schedule[:priority_level]
|
40
|
-
xml.Completion schedule[:completion]
|
41
|
-
xml.StartDate schedule[:start_date]
|
42
|
-
xml.EndDate schedule[:end_date]
|
43
|
-
xml.Reach schedule[:reach]
|
44
|
-
xml.DailyImp schedule[:daily_impressions]
|
45
|
-
xml.DailyClicks schedule[:daily_clicks]
|
46
|
-
xml.DailyUniq schedule[:daily_uniq]
|
47
|
-
xml.SmoothOrAsap schedule[:smooth_or_asap]
|
48
|
-
xml.ImpOverrun schedule[:impression_overrun]
|
35
|
+
xml.Impressions schedule[:impressions] if schedule[:impressions]
|
36
|
+
xml.Clicks schedule[:clicks] if schedule[:clicks]
|
37
|
+
xml.Uniques schedule[:uniques] if schedule[:uniques]
|
38
|
+
xml.Weight schedule[:weight] if schedule[:weight]
|
39
|
+
xml.PriorityLevel schedule[:priority_level] if schedule[:priority_level]
|
40
|
+
xml.Completion schedule[:completion] if schedule[:completion]
|
41
|
+
xml.StartDate schedule[:start_date] if schedule[:start_date]
|
42
|
+
xml.EndDate schedule[:end_date] if schedule[:end_date]
|
43
|
+
xml.Reach schedule[:reach] if schedule[:reach]
|
44
|
+
xml.DailyImp schedule[:daily_impressions] if schedule[:daily_impressions]
|
45
|
+
xml.DailyClicks schedule[:daily_clicks] if schedule[:daily_clicks]
|
46
|
+
xml.DailyUniq schedule[:daily_uniq] if schedule[:daily_uniq]
|
47
|
+
xml.SmoothOrAsap schedule[:smooth_or_asap] if schedule[:smooth_or_asap]
|
48
|
+
xml.ImpOverrun schedule[:impression_overrun] if schedule[:impression_overrun]
|
49
49
|
xml.CompanionPositions do
|
50
50
|
schedule[:companion_positions].each do |position|
|
51
51
|
xml.CompanionPosition position
|
52
52
|
end
|
53
53
|
end if schedule[:companion_positions]
|
54
|
-
xml.StrictCompanions schedule[:strict_companions]
|
54
|
+
xml.StrictCompanions schedule[:strict_companions] if schedule[:strict_companions]
|
55
55
|
|
56
56
|
# TODO check the primary and secondary frequency errors
|
57
57
|
if primary_frequency = schedule[:primary_frequency]
|
@@ -81,7 +81,7 @@ module Oass
|
|
81
81
|
end
|
82
82
|
end if schedule[:days_of_week]
|
83
83
|
|
84
|
-
xml.UserTimeZone schedule[:user_time_zone]
|
84
|
+
xml.UserTimeZone schedule[:user_time_zone] if schedule[:user_time_zone]
|
85
85
|
|
86
86
|
xml.Sections do
|
87
87
|
schedule[:sections].each do |section|
|
data/lib/oass/version.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
4
|
method: :post
|
5
5
|
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
6
6
|
body: |-
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1
|
7
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<AdXML>
|
9
9
|
<Request type="Campaign">
|
10
10
|
<Campaign action="add">
|
@@ -23,34 +23,89 @@
|
|
23
23
|
</Request>
|
24
24
|
</AdXML>
|
25
25
|
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
26
|
-
headers:
|
27
|
-
|
26
|
+
headers:
|
27
|
+
soapaction:
|
28
|
+
- "\"OasXmlRequest\""
|
29
|
+
content-type:
|
30
|
+
- text/xml;charset=UTF-8
|
31
|
+
response: !ruby/struct:VCR::Response
|
32
|
+
status: !ruby/struct:VCR::ResponseStatus
|
33
|
+
code: 200
|
34
|
+
message: OK
|
35
|
+
headers:
|
36
|
+
x-powered-by:
|
37
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
38
|
+
p3p:
|
39
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
40
|
+
via:
|
41
|
+
- 1.1 training7.247realmedia.com
|
42
|
+
content-type:
|
28
43
|
- text/xml;charset=UTF-8
|
29
|
-
|
44
|
+
date:
|
45
|
+
- Thu, 26 May 2011 01:29:55 GMT
|
46
|
+
server:
|
47
|
+
- Apache-Coyote/1.1
|
48
|
+
transfer-encoding:
|
49
|
+
- chunked
|
50
|
+
body: |-
|
51
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
52
|
+
<AdXML>
|
53
|
+
|
54
|
+
<Response>
|
55
|
+
<Campaign>
|
56
|
+
<Exception errorCode='505'> is an invalid value for Id</Exception>
|
57
|
+
</Campaign>
|
58
|
+
</Response>
|
59
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
60
|
+
http_version: "1.1"
|
61
|
+
- !ruby/struct:VCR::HTTPInteraction
|
62
|
+
request: !ruby/struct:VCR::Request
|
63
|
+
method: :post
|
64
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
65
|
+
body: |-
|
66
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
67
|
+
<AdXML>
|
68
|
+
<Request type="Campaign">
|
69
|
+
<Campaign action="add">
|
70
|
+
<Overview>
|
71
|
+
<Id></Id>
|
72
|
+
<AdvertiserId></AdvertiserId>
|
73
|
+
<Name></Name>
|
74
|
+
<AgencyId></AgencyId>
|
75
|
+
<ProductId></ProductId>
|
76
|
+
</Overview>
|
77
|
+
</Campaign>
|
78
|
+
</Request>
|
79
|
+
</AdXML>
|
80
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
81
|
+
headers:
|
82
|
+
content-type:
|
83
|
+
- text/xml;charset=UTF-8
|
84
|
+
soapaction:
|
30
85
|
- "\"OasXmlRequest\""
|
31
|
-
response: !ruby/struct:VCR::Response
|
32
|
-
status: !ruby/struct:VCR::ResponseStatus
|
86
|
+
response: !ruby/struct:VCR::Response
|
87
|
+
status: !ruby/struct:VCR::ResponseStatus
|
33
88
|
code: 200
|
34
89
|
message: OK
|
35
|
-
headers:
|
36
|
-
x-powered-by:
|
90
|
+
headers:
|
91
|
+
x-powered-by:
|
37
92
|
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
38
|
-
p3p:
|
93
|
+
p3p:
|
39
94
|
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
40
|
-
content-type:
|
95
|
+
content-type:
|
41
96
|
- text/xml;charset=UTF-8
|
42
|
-
via:
|
97
|
+
via:
|
43
98
|
- 1.1 training7.247realmedia.com
|
44
|
-
server:
|
99
|
+
server:
|
45
100
|
- Apache-Coyote/1.1
|
46
|
-
date:
|
47
|
-
-
|
48
|
-
transfer-encoding:
|
101
|
+
date:
|
102
|
+
- Fri, 27 May 2011 13:02:16 GMT
|
103
|
+
transfer-encoding:
|
49
104
|
- chunked
|
50
105
|
body: |-
|
51
106
|
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
52
107
|
<AdXML>
|
53
|
-
|
108
|
+
|
54
109
|
<Response>
|
55
110
|
<Campaign>
|
56
111
|
<Exception errorCode='505'> is an invalid value for Id</Exception>
|
@@ -12,16 +12,16 @@
|
|
12
12
|
headers:
|
13
13
|
etag:
|
14
14
|
- "\"44e617-674-48c8d0448cd40\""
|
15
|
-
last-modified:
|
16
|
-
- Thu, 29 Jul 2010 20:59:57 GMT
|
17
15
|
p3p:
|
18
16
|
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
17
|
+
last-modified:
|
18
|
+
- Thu, 29 Jul 2010 20:59:57 GMT
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
|
-
date:
|
22
|
-
- Thu, 26 May 2011 00:57:00 GMT
|
23
21
|
server:
|
24
22
|
- Apache/2.2.3 (Red Hat)
|
23
|
+
date:
|
24
|
+
- Thu, 26 May 2011 00:57:00 GMT
|
25
25
|
content-length:
|
26
26
|
- "1652"
|
27
27
|
accept-ranges:
|
@@ -102,10 +102,10 @@
|
|
102
102
|
</AdXML>
|
103
103
|
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
104
104
|
headers:
|
105
|
-
soapaction:
|
106
|
-
- "\"OasXmlRequest\""
|
107
105
|
content-type:
|
108
106
|
- text/xml;charset=UTF-8
|
107
|
+
soapaction:
|
108
|
+
- "\"OasXmlRequest\""
|
109
109
|
response: !ruby/struct:VCR::Response
|
110
110
|
status: !ruby/struct:VCR::ResponseStatus
|
111
111
|
code: 200
|
@@ -115,14 +115,14 @@
|
|
115
115
|
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
116
116
|
p3p:
|
117
117
|
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
118
|
-
via:
|
119
|
-
- 1.1 training7.247realmedia.com
|
120
118
|
content-type:
|
121
119
|
- text/xml;charset=UTF-8
|
122
|
-
|
123
|
-
-
|
120
|
+
via:
|
121
|
+
- 1.1 training7.247realmedia.com
|
124
122
|
server:
|
125
123
|
- Apache-Coyote/1.1
|
124
|
+
date:
|
125
|
+
- Thu, 26 May 2011 00:57:02 GMT
|
126
126
|
transfer-encoding:
|
127
127
|
- chunked
|
128
128
|
body: |-
|
@@ -147,16 +147,16 @@
|
|
147
147
|
headers:
|
148
148
|
etag:
|
149
149
|
- "\"44e617-674-48c8d0448cd40\""
|
150
|
-
p3p:
|
151
|
-
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
152
150
|
last-modified:
|
153
151
|
- Thu, 29 Jul 2010 20:59:57 GMT
|
152
|
+
p3p:
|
153
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
154
154
|
content-type:
|
155
155
|
- text/xml
|
156
|
-
server:
|
157
|
-
- Apache/2.2.3 (Red Hat)
|
158
156
|
date:
|
159
157
|
- Thu, 26 May 2011 00:57:45 GMT
|
158
|
+
server:
|
159
|
+
- Apache/2.2.3 (Red Hat)
|
160
160
|
content-length:
|
161
161
|
- "1652"
|
162
162
|
accept-ranges:
|
@@ -283,6 +283,113 @@
|
|
283
283
|
</Request>
|
284
284
|
</AdXML>
|
285
285
|
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
286
|
+
headers:
|
287
|
+
content-type:
|
288
|
+
- text/xml;charset=UTF-8
|
289
|
+
soapaction:
|
290
|
+
- "\"OasXmlRequest\""
|
291
|
+
response: !ruby/struct:VCR::Response
|
292
|
+
status: !ruby/struct:VCR::ResponseStatus
|
293
|
+
code: 200
|
294
|
+
message: OK
|
295
|
+
headers:
|
296
|
+
x-powered-by:
|
297
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
298
|
+
p3p:
|
299
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
300
|
+
content-type:
|
301
|
+
- text/xml;charset=UTF-8
|
302
|
+
via:
|
303
|
+
- 1.1 training7.247realmedia.com
|
304
|
+
server:
|
305
|
+
- Apache-Coyote/1.1
|
306
|
+
date:
|
307
|
+
- Thu, 26 May 2011 16:37:27 GMT
|
308
|
+
transfer-encoding:
|
309
|
+
- chunked
|
310
|
+
body: |-
|
311
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
312
|
+
<AdXML>
|
313
|
+
<Response>
|
314
|
+
<Exception errorCode='370'><![CDATA[
|
315
|
+
error in API request
|
316
|
+
line: 45
|
317
|
+
message: The content of element type "SecondaryFrequency" must match "(ImpPerVisitor?,FreqScope?)".
|
318
|
+
type: Parse Exception]]></Exception>
|
319
|
+
</Response>
|
320
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
321
|
+
http_version: "1.1"
|
322
|
+
- !ruby/struct:VCR::HTTPInteraction
|
323
|
+
request: !ruby/struct:VCR::Request
|
324
|
+
method: :post
|
325
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
326
|
+
body: |-
|
327
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
328
|
+
<AdXML>
|
329
|
+
<Request type="Campaign">
|
330
|
+
<Campaign action="add">
|
331
|
+
<Overview>
|
332
|
+
<Id>random_id_lolwut_wtf</Id>
|
333
|
+
<AdvertiserId>bobo</AdvertiserId>
|
334
|
+
<Name>LOLWUT</Name>
|
335
|
+
<AgencyId>unknown_agency</AgencyId>
|
336
|
+
<Description></Description>
|
337
|
+
<CampaignManager>lol</CampaignManager>
|
338
|
+
<ProductId>default-product</ProductId>
|
339
|
+
<InternalQuickReport></InternalQuickReport>
|
340
|
+
<ExternalQuickReport></ExternalQuickReport>
|
341
|
+
</Overview>
|
342
|
+
<Schedule>
|
343
|
+
<Impressions>999</Impressions>
|
344
|
+
<Clicks>0</Clicks>
|
345
|
+
<Uniques>0</Uniques>
|
346
|
+
<Weight>10</Weight>
|
347
|
+
<PriorityLevel>1</PriorityLevel>
|
348
|
+
<Completion>E</Completion>
|
349
|
+
<StartDate>2005-12-01</StartDate>
|
350
|
+
<EndDate>2040-12-01</EndDate>
|
351
|
+
<Reach>O</Reach>
|
352
|
+
<DailyImp>99</DailyImp>
|
353
|
+
<DailyClicks>9</DailyClicks>
|
354
|
+
<DailyUniq>1</DailyUniq>
|
355
|
+
<SmoothOrAsap>S</SmoothOrAsap>
|
356
|
+
<ImpOverrun>2</ImpOverrun>
|
357
|
+
<CompanionPositions>
|
358
|
+
<CompanionPosition>B/T</CompanionPosition>
|
359
|
+
<CompanionPosition>BL/TL</CompanionPosition>
|
360
|
+
</CompanionPositions>
|
361
|
+
<StrictCompanions>Y</StrictCompanions>
|
362
|
+
<PrimaryFrequency>
|
363
|
+
<ImpPerVisitor>2</ImpPerVisitor>
|
364
|
+
<FreqScore>Y</FreqScore>
|
365
|
+
<ClickPerVisitor>0</ClickPerVisitor>
|
366
|
+
</PrimaryFrequency>
|
367
|
+
<SecondaryFrequency>
|
368
|
+
<ImpPerVisitor>2</ImpPerVisitor>
|
369
|
+
<FreqScore>Y</FreqScore>
|
370
|
+
<ClickPerVisitor>0</ClickPerVisitor>
|
371
|
+
</SecondaryFrequency>
|
372
|
+
<HourOfDay>
|
373
|
+
<Hour>00</Hour>
|
374
|
+
<Hour>01</Hour>
|
375
|
+
<Hour>23</Hour>
|
376
|
+
</HourOfDay>
|
377
|
+
<DayOfWeek>
|
378
|
+
<Day>2</Day>
|
379
|
+
<Day>3</Day>
|
380
|
+
<Day>4</Day>
|
381
|
+
<Day>5</Day>
|
382
|
+
</DayOfWeek>
|
383
|
+
<UserTimeZone>Y</UserTimeZone>
|
384
|
+
<Sections>
|
385
|
+
<SectionId>SectionABC</SectionId>
|
386
|
+
<SectionId>SectionDEF</SectionId>
|
387
|
+
</Sections>
|
388
|
+
</Schedule>
|
389
|
+
</Campaign>
|
390
|
+
</Request>
|
391
|
+
</AdXML>
|
392
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
286
393
|
headers:
|
287
394
|
soapaction:
|
288
395
|
- "\"OasXmlRequest\""
|
@@ -302,7 +409,7 @@
|
|
302
409
|
content-type:
|
303
410
|
- text/xml;charset=UTF-8
|
304
411
|
date:
|
305
|
-
- Thu, 26 May 2011 16:
|
412
|
+
- Thu, 26 May 2011 16:38:16 GMT
|
306
413
|
server:
|
307
414
|
- Apache-Coyote/1.1
|
308
415
|
transfer-encoding:
|
@@ -362,12 +469,10 @@
|
|
362
469
|
<PrimaryFrequency>
|
363
470
|
<ImpPerVisitor>2</ImpPerVisitor>
|
364
471
|
<FreqScore>Y</FreqScore>
|
365
|
-
<ClickPerVisitor>0</ClickPerVisitor>
|
366
472
|
</PrimaryFrequency>
|
367
473
|
<SecondaryFrequency>
|
368
474
|
<ImpPerVisitor>2</ImpPerVisitor>
|
369
475
|
<FreqScore>Y</FreqScore>
|
370
|
-
<ClickPerVisitor>0</ClickPerVisitor>
|
371
476
|
</SecondaryFrequency>
|
372
477
|
<HourOfDay>
|
373
478
|
<Hour>00</Hour>
|
@@ -411,7 +516,7 @@
|
|
411
516
|
server:
|
412
517
|
- Apache-Coyote/1.1
|
413
518
|
date:
|
414
|
-
- Thu, 26 May 2011 16:38:
|
519
|
+
- Thu, 26 May 2011 16:38:44 GMT
|
415
520
|
transfer-encoding:
|
416
521
|
- chunked
|
417
522
|
body: |-
|
@@ -420,7 +525,7 @@
|
|
420
525
|
<Response>
|
421
526
|
<Exception errorCode='370'><![CDATA[
|
422
527
|
error in API request
|
423
|
-
line:
|
528
|
+
line: 43
|
424
529
|
message: The content of element type "SecondaryFrequency" must match "(ImpPerVisitor?,FreqScope?)".
|
425
530
|
type: Parse Exception]]></Exception>
|
426
531
|
</Response>
|
@@ -468,11 +573,13 @@
|
|
468
573
|
<StrictCompanions>Y</StrictCompanions>
|
469
574
|
<PrimaryFrequency>
|
470
575
|
<ImpPerVisitor>2</ImpPerVisitor>
|
471
|
-
<
|
576
|
+
<ClickPerVisitor>0</ClickPerVisitor>
|
577
|
+
<FreqScope>Y</FreqScope>
|
472
578
|
</PrimaryFrequency>
|
473
579
|
<SecondaryFrequency>
|
474
580
|
<ImpPerVisitor>2</ImpPerVisitor>
|
475
|
-
<
|
581
|
+
<ClickPerVisitor>0</ClickPerVisitor>
|
582
|
+
<FreqScope>Y</FreqScope>
|
476
583
|
</SecondaryFrequency>
|
477
584
|
<HourOfDay>
|
478
585
|
<Hour>00</Hour>
|
@@ -514,7 +621,7 @@
|
|
514
621
|
content-type:
|
515
622
|
- text/xml;charset=UTF-8
|
516
623
|
date:
|
517
|
-
- Thu, 26 May 2011 16:
|
624
|
+
- Thu, 26 May 2011 16:39:12 GMT
|
518
625
|
server:
|
519
626
|
- Apache-Coyote/1.1
|
520
627
|
transfer-encoding:
|
@@ -525,7 +632,7 @@
|
|
525
632
|
<Response>
|
526
633
|
<Exception errorCode='370'><![CDATA[
|
527
634
|
error in API request
|
528
|
-
line:
|
635
|
+
line: 45
|
529
636
|
message: The content of element type "SecondaryFrequency" must match "(ImpPerVisitor?,FreqScope?)".
|
530
637
|
type: Parse Exception]]></Exception>
|
531
638
|
</Response>
|
@@ -573,12 +680,10 @@
|
|
573
680
|
<StrictCompanions>Y</StrictCompanions>
|
574
681
|
<PrimaryFrequency>
|
575
682
|
<ImpPerVisitor>2</ImpPerVisitor>
|
576
|
-
<ClickPerVisitor>0</ClickPerVisitor>
|
577
683
|
<FreqScope>Y</FreqScope>
|
578
684
|
</PrimaryFrequency>
|
579
685
|
<SecondaryFrequency>
|
580
686
|
<ImpPerVisitor>2</ImpPerVisitor>
|
581
|
-
<ClickPerVisitor>0</ClickPerVisitor>
|
582
687
|
<FreqScope>Y</FreqScope>
|
583
688
|
</SecondaryFrequency>
|
584
689
|
<HourOfDay>
|
@@ -623,18 +728,17 @@
|
|
623
728
|
server:
|
624
729
|
- Apache-Coyote/1.1
|
625
730
|
date:
|
626
|
-
- Thu, 26 May 2011 16:39:
|
731
|
+
- Thu, 26 May 2011 16:39:57 GMT
|
627
732
|
transfer-encoding:
|
628
733
|
- chunked
|
629
734
|
body: |-
|
630
735
|
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
631
736
|
<AdXML>
|
737
|
+
|
632
738
|
<Response>
|
633
|
-
<
|
634
|
-
|
635
|
-
|
636
|
-
message: The content of element type "SecondaryFrequency" must match "(ImpPerVisitor?,FreqScope?)".
|
637
|
-
type: Parse Exception]]></Exception>
|
739
|
+
<Campaign>
|
740
|
+
<Exception errorCode='502'>ClickPerVisitor must not be blank.</Exception>
|
741
|
+
</Campaign>
|
638
742
|
</Response>
|
639
743
|
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
640
744
|
http_version: "1.1"
|
@@ -681,10 +785,12 @@
|
|
681
785
|
<PrimaryFrequency>
|
682
786
|
<ImpPerVisitor>2</ImpPerVisitor>
|
683
787
|
<FreqScope>Y</FreqScope>
|
788
|
+
<ClickPerVisitor>0</ClickPerVisitor>
|
684
789
|
</PrimaryFrequency>
|
685
790
|
<SecondaryFrequency>
|
686
791
|
<ImpPerVisitor>2</ImpPerVisitor>
|
687
792
|
<FreqScope>Y</FreqScope>
|
793
|
+
<ClickPerVisitor>0</ClickPerVisitor>
|
688
794
|
</SecondaryFrequency>
|
689
795
|
<HourOfDay>
|
690
796
|
<Hour>00</Hour>
|
@@ -726,7 +832,7 @@
|
|
726
832
|
content-type:
|
727
833
|
- text/xml;charset=UTF-8
|
728
834
|
date:
|
729
|
-
- Thu, 26 May 2011 16:
|
835
|
+
- Thu, 26 May 2011 16:40:25 GMT
|
730
836
|
server:
|
731
837
|
- Apache-Coyote/1.1
|
732
838
|
transfer-encoding:
|
@@ -734,11 +840,12 @@
|
|
734
840
|
body: |-
|
735
841
|
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
736
842
|
<AdXML>
|
737
|
-
|
738
843
|
<Response>
|
739
|
-
<
|
740
|
-
|
741
|
-
|
844
|
+
<Exception errorCode='370'><![CDATA[
|
845
|
+
error in API request
|
846
|
+
line: 45
|
847
|
+
message: The content of element type "SecondaryFrequency" must match "(ImpPerVisitor?,FreqScope?)".
|
848
|
+
type: Parse Exception]]></Exception>
|
742
849
|
</Response>
|
743
850
|
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
744
851
|
http_version: "1.1"
|
@@ -790,7 +897,6 @@
|
|
790
897
|
<SecondaryFrequency>
|
791
898
|
<ImpPerVisitor>2</ImpPerVisitor>
|
792
899
|
<FreqScope>Y</FreqScope>
|
793
|
-
<ClickPerVisitor>0</ClickPerVisitor>
|
794
900
|
</SecondaryFrequency>
|
795
901
|
<HourOfDay>
|
796
902
|
<Hour>00</Hour>
|
@@ -834,7 +940,7 @@
|
|
834
940
|
server:
|
835
941
|
- Apache-Coyote/1.1
|
836
942
|
date:
|
837
|
-
- Thu, 26 May 2011 16:40:
|
943
|
+
- Thu, 26 May 2011 16:40:40 GMT
|
838
944
|
transfer-encoding:
|
839
945
|
- chunked
|
840
946
|
body: |-
|
@@ -843,8 +949,8 @@
|
|
843
949
|
<Response>
|
844
950
|
<Exception errorCode='370'><![CDATA[
|
845
951
|
error in API request
|
846
|
-
line:
|
847
|
-
message: The content of element type "
|
952
|
+
line: 40
|
953
|
+
message: The content of element type "PrimaryFrequency" must match "(ImpPerVisitor?,ClickPerVisitor?,FreqScope?)".
|
848
954
|
type: Parse Exception]]></Exception>
|
849
955
|
</Response>
|
850
956
|
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
@@ -891,8 +997,8 @@
|
|
891
997
|
<StrictCompanions>Y</StrictCompanions>
|
892
998
|
<PrimaryFrequency>
|
893
999
|
<ImpPerVisitor>2</ImpPerVisitor>
|
894
|
-
<FreqScope>Y</FreqScope>
|
895
1000
|
<ClickPerVisitor>0</ClickPerVisitor>
|
1001
|
+
<FreqScope>Y</FreqScope>
|
896
1002
|
</PrimaryFrequency>
|
897
1003
|
<SecondaryFrequency>
|
898
1004
|
<ImpPerVisitor>2</ImpPerVisitor>
|
@@ -938,7 +1044,7 @@
|
|
938
1044
|
content-type:
|
939
1045
|
- text/xml;charset=UTF-8
|
940
1046
|
date:
|
941
|
-
- Thu, 26 May 2011 16:
|
1047
|
+
- Thu, 26 May 2011 16:41:05 GMT
|
942
1048
|
server:
|
943
1049
|
- Apache-Coyote/1.1
|
944
1050
|
transfer-encoding:
|
@@ -946,12 +1052,11 @@
|
|
946
1052
|
body: |-
|
947
1053
|
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
948
1054
|
<AdXML>
|
1055
|
+
|
949
1056
|
<Response>
|
950
|
-
<
|
951
|
-
|
952
|
-
|
953
|
-
message: The content of element type "PrimaryFrequency" must match "(ImpPerVisitor?,ClickPerVisitor?,FreqScope?)".
|
954
|
-
type: Parse Exception]]></Exception>
|
1057
|
+
<Campaign>
|
1058
|
+
<Exception errorCode='500'>Y is an invalid option for FreqScope (0,1,2,3,4,5,6)</Exception>
|
1059
|
+
</Campaign>
|
955
1060
|
</Response>
|
956
1061
|
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
957
1062
|
http_version: "1.1"
|
@@ -998,11 +1103,11 @@
|
|
998
1103
|
<PrimaryFrequency>
|
999
1104
|
<ImpPerVisitor>2</ImpPerVisitor>
|
1000
1105
|
<ClickPerVisitor>0</ClickPerVisitor>
|
1001
|
-
<FreqScope>
|
1106
|
+
<FreqScope>1</FreqScope>
|
1002
1107
|
</PrimaryFrequency>
|
1003
1108
|
<SecondaryFrequency>
|
1004
1109
|
<ImpPerVisitor>2</ImpPerVisitor>
|
1005
|
-
<FreqScope>
|
1110
|
+
<FreqScope>1</FreqScope>
|
1006
1111
|
</SecondaryFrequency>
|
1007
1112
|
<HourOfDay>
|
1008
1113
|
<Hour>00</Hour>
|
@@ -1046,7 +1151,7 @@
|
|
1046
1151
|
server:
|
1047
1152
|
- Apache-Coyote/1.1
|
1048
1153
|
date:
|
1049
|
-
- Thu, 26 May 2011 16:41:
|
1154
|
+
- Thu, 26 May 2011 16:41:36 GMT
|
1050
1155
|
transfer-encoding:
|
1051
1156
|
- chunked
|
1052
1157
|
body: |-
|
@@ -1055,7 +1160,7 @@
|
|
1055
1160
|
|
1056
1161
|
<Response>
|
1057
1162
|
<Campaign>
|
1058
|
-
<Exception errorCode='
|
1163
|
+
<Exception errorCode='590'>Primary and Secondary Frequency Scope must not be equivalent.</Exception>
|
1059
1164
|
</Campaign>
|
1060
1165
|
</Response>
|
1061
1166
|
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
@@ -1101,12 +1206,12 @@
|
|
1101
1206
|
</CompanionPositions>
|
1102
1207
|
<StrictCompanions>Y</StrictCompanions>
|
1103
1208
|
<PrimaryFrequency>
|
1104
|
-
<ImpPerVisitor>
|
1209
|
+
<ImpPerVisitor>3</ImpPerVisitor>
|
1105
1210
|
<ClickPerVisitor>0</ClickPerVisitor>
|
1106
1211
|
<FreqScope>1</FreqScope>
|
1107
1212
|
</PrimaryFrequency>
|
1108
1213
|
<SecondaryFrequency>
|
1109
|
-
<ImpPerVisitor>
|
1214
|
+
<ImpPerVisitor>3</ImpPerVisitor>
|
1110
1215
|
<FreqScope>1</FreqScope>
|
1111
1216
|
</SecondaryFrequency>
|
1112
1217
|
<HourOfDay>
|
@@ -1149,7 +1254,7 @@
|
|
1149
1254
|
content-type:
|
1150
1255
|
- text/xml;charset=UTF-8
|
1151
1256
|
date:
|
1152
|
-
- Thu, 26 May 2011 16:
|
1257
|
+
- Thu, 26 May 2011 16:42:34 GMT
|
1153
1258
|
server:
|
1154
1259
|
- Apache-Coyote/1.1
|
1155
1260
|
transfer-encoding:
|
@@ -1208,11 +1313,11 @@
|
|
1208
1313
|
<PrimaryFrequency>
|
1209
1314
|
<ImpPerVisitor>3</ImpPerVisitor>
|
1210
1315
|
<ClickPerVisitor>0</ClickPerVisitor>
|
1211
|
-
<FreqScope>
|
1316
|
+
<FreqScope>4</FreqScope>
|
1212
1317
|
</PrimaryFrequency>
|
1213
1318
|
<SecondaryFrequency>
|
1214
1319
|
<ImpPerVisitor>3</ImpPerVisitor>
|
1215
|
-
<FreqScope>
|
1320
|
+
<FreqScope>4</FreqScope>
|
1216
1321
|
</SecondaryFrequency>
|
1217
1322
|
<HourOfDay>
|
1218
1323
|
<Hour>00</Hour>
|
@@ -1256,7 +1361,7 @@
|
|
1256
1361
|
server:
|
1257
1362
|
- Apache-Coyote/1.1
|
1258
1363
|
date:
|
1259
|
-
- Thu, 26 May 2011 16:
|
1364
|
+
- Thu, 26 May 2011 16:43:17 GMT
|
1260
1365
|
transfer-encoding:
|
1261
1366
|
- chunked
|
1262
1367
|
body: |-
|
@@ -1311,12 +1416,12 @@
|
|
1311
1416
|
</CompanionPositions>
|
1312
1417
|
<StrictCompanions>Y</StrictCompanions>
|
1313
1418
|
<PrimaryFrequency>
|
1314
|
-
<ImpPerVisitor>
|
1419
|
+
<ImpPerVisitor>4</ImpPerVisitor>
|
1315
1420
|
<ClickPerVisitor>0</ClickPerVisitor>
|
1316
1421
|
<FreqScope>4</FreqScope>
|
1317
1422
|
</PrimaryFrequency>
|
1318
1423
|
<SecondaryFrequency>
|
1319
|
-
<ImpPerVisitor>
|
1424
|
+
<ImpPerVisitor>4</ImpPerVisitor>
|
1320
1425
|
<FreqScope>4</FreqScope>
|
1321
1426
|
</SecondaryFrequency>
|
1322
1427
|
<HourOfDay>
|
@@ -1359,7 +1464,7 @@
|
|
1359
1464
|
content-type:
|
1360
1465
|
- text/xml;charset=UTF-8
|
1361
1466
|
date:
|
1362
|
-
- Thu, 26 May 2011 16:
|
1467
|
+
- Thu, 26 May 2011 16:44:05 GMT
|
1363
1468
|
server:
|
1364
1469
|
- Apache-Coyote/1.1
|
1365
1470
|
transfer-encoding:
|
@@ -1415,15 +1520,6 @@
|
|
1415
1520
|
<CompanionPosition>BL/TL</CompanionPosition>
|
1416
1521
|
</CompanionPositions>
|
1417
1522
|
<StrictCompanions>Y</StrictCompanions>
|
1418
|
-
<PrimaryFrequency>
|
1419
|
-
<ImpPerVisitor>4</ImpPerVisitor>
|
1420
|
-
<ClickPerVisitor>0</ClickPerVisitor>
|
1421
|
-
<FreqScope>4</FreqScope>
|
1422
|
-
</PrimaryFrequency>
|
1423
|
-
<SecondaryFrequency>
|
1424
|
-
<ImpPerVisitor>4</ImpPerVisitor>
|
1425
|
-
<FreqScope>4</FreqScope>
|
1426
|
-
</SecondaryFrequency>
|
1427
1523
|
<HourOfDay>
|
1428
1524
|
<Hour>00</Hour>
|
1429
1525
|
<Hour>01</Hour>
|
@@ -1466,7 +1562,7 @@
|
|
1466
1562
|
server:
|
1467
1563
|
- Apache-Coyote/1.1
|
1468
1564
|
date:
|
1469
|
-
- Thu, 26 May 2011 16:44:
|
1565
|
+
- Thu, 26 May 2011 16:44:26 GMT
|
1470
1566
|
transfer-encoding:
|
1471
1567
|
- chunked
|
1472
1568
|
body: |-
|
@@ -1475,7 +1571,7 @@
|
|
1475
1571
|
|
1476
1572
|
<Response>
|
1477
1573
|
<Campaign>
|
1478
|
-
<Exception errorCode='
|
1574
|
+
<Exception errorCode='512'>Campaign ID already exists in Open AdStream.</Exception>
|
1479
1575
|
</Campaign>
|
1480
1576
|
</Response>
|
1481
1577
|
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
@@ -1490,7 +1586,7 @@
|
|
1490
1586
|
<Request type="Campaign">
|
1491
1587
|
<Campaign action="add">
|
1492
1588
|
<Overview>
|
1493
|
-
<Id>
|
1589
|
+
<Id>random_id_lolwut_wtf_shit</Id>
|
1494
1590
|
<AdvertiserId>bobo</AdvertiserId>
|
1495
1591
|
<Name>LOLWUT</Name>
|
1496
1592
|
<AgencyId>unknown_agency</AgencyId>
|
@@ -1560,7 +1656,7 @@
|
|
1560
1656
|
content-type:
|
1561
1657
|
- text/xml;charset=UTF-8
|
1562
1658
|
date:
|
1563
|
-
- Thu, 26 May 2011 16:44:
|
1659
|
+
- Thu, 26 May 2011 16:44:43 GMT
|
1564
1660
|
server:
|
1565
1661
|
- Apache-Coyote/1.1
|
1566
1662
|
transfer-encoding:
|
@@ -1570,9 +1666,7 @@
|
|
1570
1666
|
<AdXML>
|
1571
1667
|
|
1572
1668
|
<Response>
|
1573
|
-
<Campaign>
|
1574
|
-
<Exception errorCode='512'>Campaign ID already exists in Open AdStream.</Exception>
|
1575
|
-
</Campaign>
|
1669
|
+
<Campaign>Successfully added.</Campaign>
|
1576
1670
|
</Response>
|
1577
1671
|
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
1578
1672
|
http_version: "1.1"
|
@@ -1590,11 +1684,8 @@
|
|
1590
1684
|
<AdvertiserId>bobo</AdvertiserId>
|
1591
1685
|
<Name>LOLWUT</Name>
|
1592
1686
|
<AgencyId>unknown_agency</AgencyId>
|
1593
|
-
<Description></Description>
|
1594
1687
|
<CampaignManager>lol</CampaignManager>
|
1595
1688
|
<ProductId>default-product</ProductId>
|
1596
|
-
<InternalQuickReport></InternalQuickReport>
|
1597
|
-
<ExternalQuickReport></ExternalQuickReport>
|
1598
1689
|
</Overview>
|
1599
1690
|
<Schedule>
|
1600
1691
|
<Impressions>999</Impressions>
|
@@ -1658,7 +1749,682 @@
|
|
1658
1749
|
server:
|
1659
1750
|
- Apache-Coyote/1.1
|
1660
1751
|
date:
|
1661
|
-
-
|
1752
|
+
- Fri, 27 May 2011 13:02:15 GMT
|
1753
|
+
transfer-encoding:
|
1754
|
+
- chunked
|
1755
|
+
body: |-
|
1756
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
1757
|
+
<AdXML>
|
1758
|
+
|
1759
|
+
<Response>
|
1760
|
+
<Campaign>
|
1761
|
+
<Exception errorCode='512'>Campaign ID already exists in Open AdStream.</Exception>
|
1762
|
+
</Campaign>
|
1763
|
+
</Response>
|
1764
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
1765
|
+
http_version: "1.1"
|
1766
|
+
- !ruby/struct:VCR::HTTPInteraction
|
1767
|
+
request: !ruby/struct:VCR::Request
|
1768
|
+
method: :post
|
1769
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
1770
|
+
body: |-
|
1771
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
1772
|
+
<AdXML>
|
1773
|
+
<Request type="Campaign">
|
1774
|
+
<Campaign action="add">
|
1775
|
+
<Overview>
|
1776
|
+
<Id>zqjigkhvbwcstofmnupyexladr</Id>
|
1777
|
+
<AdvertiserId>bobo</AdvertiserId>
|
1778
|
+
<Name>LOLWUT</Name>
|
1779
|
+
<AgencyId>unknown_agency</AgencyId>
|
1780
|
+
<ProductId>default-product</ProductId>
|
1781
|
+
</Overview>
|
1782
|
+
<Schedule>
|
1783
|
+
<Impressions>999</Impressions>
|
1784
|
+
<Clicks>0</Clicks>
|
1785
|
+
</Schedule>
|
1786
|
+
</Campaign>
|
1787
|
+
</Request>
|
1788
|
+
</AdXML>
|
1789
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
1790
|
+
headers:
|
1791
|
+
soapaction:
|
1792
|
+
- "\"OasXmlRequest\""
|
1793
|
+
content-type:
|
1794
|
+
- text/xml;charset=UTF-8
|
1795
|
+
response: !ruby/struct:VCR::Response
|
1796
|
+
status: !ruby/struct:VCR::ResponseStatus
|
1797
|
+
code: 200
|
1798
|
+
message: OK
|
1799
|
+
headers:
|
1800
|
+
x-powered-by:
|
1801
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
1802
|
+
p3p:
|
1803
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
1804
|
+
via:
|
1805
|
+
- 1.1 training7.247realmedia.com
|
1806
|
+
content-type:
|
1807
|
+
- text/xml;charset=UTF-8
|
1808
|
+
date:
|
1809
|
+
- Fri, 27 May 2011 13:11:40 GMT
|
1810
|
+
server:
|
1811
|
+
- Apache-Coyote/1.1
|
1812
|
+
transfer-encoding:
|
1813
|
+
- chunked
|
1814
|
+
body: |-
|
1815
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
1816
|
+
<AdXML>
|
1817
|
+
|
1818
|
+
<Response>
|
1819
|
+
<Campaign>
|
1820
|
+
<Exception errorCode='502'>Completion must not be blank.</Exception>
|
1821
|
+
</Campaign>
|
1822
|
+
</Response>
|
1823
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
1824
|
+
http_version: "1.1"
|
1825
|
+
- !ruby/struct:VCR::HTTPInteraction
|
1826
|
+
request: !ruby/struct:VCR::Request
|
1827
|
+
method: :post
|
1828
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
1829
|
+
body: |-
|
1830
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
1831
|
+
<AdXML>
|
1832
|
+
<Request type="Campaign">
|
1833
|
+
<Campaign action="add">
|
1834
|
+
<Overview>
|
1835
|
+
<Id>umrngvoxziqwkhdjetpclbfysa</Id>
|
1836
|
+
<AdvertiserId>bobo</AdvertiserId>
|
1837
|
+
<Name>LOLWUT</Name>
|
1838
|
+
<AgencyId>unknown_agency</AgencyId>
|
1839
|
+
<ProductId>default-product</ProductId>
|
1840
|
+
</Overview>
|
1841
|
+
<Schedule>
|
1842
|
+
<Impressions>999</Impressions>
|
1843
|
+
<Clicks>0</Clicks>
|
1844
|
+
<Completion>E</Completion>
|
1845
|
+
</Schedule>
|
1846
|
+
</Campaign>
|
1847
|
+
</Request>
|
1848
|
+
</AdXML>
|
1849
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
1850
|
+
headers:
|
1851
|
+
content-type:
|
1852
|
+
- text/xml;charset=UTF-8
|
1853
|
+
soapaction:
|
1854
|
+
- "\"OasXmlRequest\""
|
1855
|
+
response: !ruby/struct:VCR::Response
|
1856
|
+
status: !ruby/struct:VCR::ResponseStatus
|
1857
|
+
code: 200
|
1858
|
+
message: OK
|
1859
|
+
headers:
|
1860
|
+
x-powered-by:
|
1861
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
1862
|
+
p3p:
|
1863
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
1864
|
+
content-type:
|
1865
|
+
- text/xml;charset=UTF-8
|
1866
|
+
via:
|
1867
|
+
- 1.1 training7.247realmedia.com
|
1868
|
+
server:
|
1869
|
+
- Apache-Coyote/1.1
|
1870
|
+
date:
|
1871
|
+
- Fri, 27 May 2011 13:12:00 GMT
|
1872
|
+
transfer-encoding:
|
1873
|
+
- chunked
|
1874
|
+
body: |-
|
1875
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
1876
|
+
<AdXML>
|
1877
|
+
|
1878
|
+
<Response>
|
1879
|
+
<Campaign>
|
1880
|
+
<Exception errorCode='502'>Reach must not be blank.</Exception>
|
1881
|
+
</Campaign>
|
1882
|
+
</Response>
|
1883
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
1884
|
+
http_version: "1.1"
|
1885
|
+
- !ruby/struct:VCR::HTTPInteraction
|
1886
|
+
request: !ruby/struct:VCR::Request
|
1887
|
+
method: :post
|
1888
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
1889
|
+
body: |-
|
1890
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
1891
|
+
<AdXML>
|
1892
|
+
<Request type="Campaign">
|
1893
|
+
<Campaign action="add">
|
1894
|
+
<Overview>
|
1895
|
+
<Id>nztrugkqhwjoimevbpcfdslxya</Id>
|
1896
|
+
<AdvertiserId>bobo</AdvertiserId>
|
1897
|
+
<Name>LOLWUT</Name>
|
1898
|
+
<AgencyId>unknown_agency</AgencyId>
|
1899
|
+
<ProductId>default-product</ProductId>
|
1900
|
+
</Overview>
|
1901
|
+
<Schedule>
|
1902
|
+
<Impressions>999</Impressions>
|
1903
|
+
<Clicks>0</Clicks>
|
1904
|
+
<Completion>E</Completion>
|
1905
|
+
<Reach>O</Reach>
|
1906
|
+
</Schedule>
|
1907
|
+
</Campaign>
|
1908
|
+
</Request>
|
1909
|
+
</AdXML>
|
1910
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
1911
|
+
headers:
|
1912
|
+
soapaction:
|
1913
|
+
- "\"OasXmlRequest\""
|
1914
|
+
content-type:
|
1915
|
+
- text/xml;charset=UTF-8
|
1916
|
+
response: !ruby/struct:VCR::Response
|
1917
|
+
status: !ruby/struct:VCR::ResponseStatus
|
1918
|
+
code: 200
|
1919
|
+
message: OK
|
1920
|
+
headers:
|
1921
|
+
x-powered-by:
|
1922
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
1923
|
+
p3p:
|
1924
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
1925
|
+
via:
|
1926
|
+
- 1.1 training7.247realmedia.com
|
1927
|
+
content-type:
|
1928
|
+
- text/xml;charset=UTF-8
|
1929
|
+
date:
|
1930
|
+
- Fri, 27 May 2011 13:12:16 GMT
|
1931
|
+
server:
|
1932
|
+
- Apache-Coyote/1.1
|
1933
|
+
transfer-encoding:
|
1934
|
+
- chunked
|
1935
|
+
body: |-
|
1936
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
1937
|
+
<AdXML>
|
1938
|
+
|
1939
|
+
<Response>
|
1940
|
+
<Campaign>
|
1941
|
+
<Exception errorCode='502'>SmoothOrAsap must not be blank.</Exception>
|
1942
|
+
</Campaign>
|
1943
|
+
</Response>
|
1944
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
1945
|
+
http_version: "1.1"
|
1946
|
+
- !ruby/struct:VCR::HTTPInteraction
|
1947
|
+
request: !ruby/struct:VCR::Request
|
1948
|
+
method: :post
|
1949
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
1950
|
+
body: |-
|
1951
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
1952
|
+
<AdXML>
|
1953
|
+
<Request type="Campaign">
|
1954
|
+
<Campaign action="add">
|
1955
|
+
<Overview>
|
1956
|
+
<Id>bvktrjxweslcymduofzgqahnip</Id>
|
1957
|
+
<AdvertiserId>bobo</AdvertiserId>
|
1958
|
+
<Name>LOLWUT</Name>
|
1959
|
+
<AgencyId>unknown_agency</AgencyId>
|
1960
|
+
<ProductId>default-product</ProductId>
|
1961
|
+
</Overview>
|
1962
|
+
<Schedule>
|
1963
|
+
<Impressions>999</Impressions>
|
1964
|
+
<Clicks>0</Clicks>
|
1965
|
+
<Completion>E</Completion>
|
1966
|
+
<Reach>O</Reach>
|
1967
|
+
<SmoothOrAsap>S</SmoothOrAsap>
|
1968
|
+
</Schedule>
|
1969
|
+
</Campaign>
|
1970
|
+
</Request>
|
1971
|
+
</AdXML>
|
1972
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
1973
|
+
headers:
|
1974
|
+
content-type:
|
1975
|
+
- text/xml;charset=UTF-8
|
1976
|
+
soapaction:
|
1977
|
+
- "\"OasXmlRequest\""
|
1978
|
+
response: !ruby/struct:VCR::Response
|
1979
|
+
status: !ruby/struct:VCR::ResponseStatus
|
1980
|
+
code: 200
|
1981
|
+
message: OK
|
1982
|
+
headers:
|
1983
|
+
x-powered-by:
|
1984
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
1985
|
+
p3p:
|
1986
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
1987
|
+
content-type:
|
1988
|
+
- text/xml;charset=UTF-8
|
1989
|
+
via:
|
1990
|
+
- 1.1 training7.247realmedia.com
|
1991
|
+
server:
|
1992
|
+
- Apache-Coyote/1.1
|
1993
|
+
date:
|
1994
|
+
- Fri, 27 May 2011 13:12:45 GMT
|
1995
|
+
transfer-encoding:
|
1996
|
+
- chunked
|
1997
|
+
body: |-
|
1998
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
1999
|
+
<AdXML>
|
2000
|
+
|
2001
|
+
<Response>
|
2002
|
+
<Campaign>
|
2003
|
+
<Exception errorCode='502'>PriorityLevel must not be blank.</Exception>
|
2004
|
+
</Campaign>
|
2005
|
+
</Response>
|
2006
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
2007
|
+
http_version: "1.1"
|
2008
|
+
- !ruby/struct:VCR::HTTPInteraction
|
2009
|
+
request: !ruby/struct:VCR::Request
|
2010
|
+
method: :post
|
2011
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
2012
|
+
body: |-
|
2013
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
2014
|
+
<AdXML>
|
2015
|
+
<Request type="Campaign">
|
2016
|
+
<Campaign action="add">
|
2017
|
+
<Overview>
|
2018
|
+
<Id>bzxuwnfaeydprqogmkcsvtjilh</Id>
|
2019
|
+
<AdvertiserId>bobo</AdvertiserId>
|
2020
|
+
<Name>LOLWUT</Name>
|
2021
|
+
<AgencyId>unknown_agency</AgencyId>
|
2022
|
+
<ProductId>default-product</ProductId>
|
2023
|
+
</Overview>
|
2024
|
+
<Schedule>
|
2025
|
+
<Impressions>999</Impressions>
|
2026
|
+
<Clicks>0</Clicks>
|
2027
|
+
<PriorityLevel>1</PriorityLevel>
|
2028
|
+
<Completion>E</Completion>
|
2029
|
+
<Reach>O</Reach>
|
2030
|
+
<SmoothOrAsap>S</SmoothOrAsap>
|
2031
|
+
</Schedule>
|
2032
|
+
</Campaign>
|
2033
|
+
</Request>
|
2034
|
+
</AdXML>
|
2035
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
2036
|
+
headers:
|
2037
|
+
soapaction:
|
2038
|
+
- "\"OasXmlRequest\""
|
2039
|
+
content-type:
|
2040
|
+
- text/xml;charset=UTF-8
|
2041
|
+
response: !ruby/struct:VCR::Response
|
2042
|
+
status: !ruby/struct:VCR::ResponseStatus
|
2043
|
+
code: 200
|
2044
|
+
message: OK
|
2045
|
+
headers:
|
2046
|
+
x-powered-by:
|
2047
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
2048
|
+
p3p:
|
2049
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
2050
|
+
via:
|
2051
|
+
- 1.1 training7.247realmedia.com
|
2052
|
+
content-type:
|
2053
|
+
- text/xml;charset=UTF-8
|
2054
|
+
date:
|
2055
|
+
- Fri, 27 May 2011 13:13:17 GMT
|
2056
|
+
server:
|
2057
|
+
- Apache-Coyote/1.1
|
2058
|
+
transfer-encoding:
|
2059
|
+
- chunked
|
2060
|
+
body: |-
|
2061
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
2062
|
+
<AdXML>
|
2063
|
+
|
2064
|
+
<Response>
|
2065
|
+
<Campaign>
|
2066
|
+
<Exception errorCode='578'>Completion E requires valid EndDate.</Exception>
|
2067
|
+
</Campaign>
|
2068
|
+
</Response>
|
2069
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
2070
|
+
http_version: "1.1"
|
2071
|
+
- !ruby/struct:VCR::HTTPInteraction
|
2072
|
+
request: !ruby/struct:VCR::Request
|
2073
|
+
method: :post
|
2074
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
2075
|
+
body: |-
|
2076
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
2077
|
+
<AdXML>
|
2078
|
+
<Request type="Campaign">
|
2079
|
+
<Campaign action="add">
|
2080
|
+
<Overview>
|
2081
|
+
<Id>axrzgfhducyoneibptsmklwvqj</Id>
|
2082
|
+
<AdvertiserId>bobo</AdvertiserId>
|
2083
|
+
<Name>LOLWUT</Name>
|
2084
|
+
<AgencyId>unknown_agency</AgencyId>
|
2085
|
+
<ProductId>default-product</ProductId>
|
2086
|
+
</Overview>
|
2087
|
+
<Schedule>
|
2088
|
+
<Impressions>999</Impressions>
|
2089
|
+
<Clicks>0</Clicks>
|
2090
|
+
<PriorityLevel>1</PriorityLevel>
|
2091
|
+
<Completion>S</Completion>
|
2092
|
+
<Reach>O</Reach>
|
2093
|
+
<SmoothOrAsap>S</SmoothOrAsap>
|
2094
|
+
</Schedule>
|
2095
|
+
</Campaign>
|
2096
|
+
</Request>
|
2097
|
+
</AdXML>
|
2098
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
2099
|
+
headers:
|
2100
|
+
content-type:
|
2101
|
+
- text/xml;charset=UTF-8
|
2102
|
+
soapaction:
|
2103
|
+
- "\"OasXmlRequest\""
|
2104
|
+
response: !ruby/struct:VCR::Response
|
2105
|
+
status: !ruby/struct:VCR::ResponseStatus
|
2106
|
+
code: 200
|
2107
|
+
message: OK
|
2108
|
+
headers:
|
2109
|
+
x-powered-by:
|
2110
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
2111
|
+
p3p:
|
2112
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
2113
|
+
content-type:
|
2114
|
+
- text/xml;charset=UTF-8
|
2115
|
+
via:
|
2116
|
+
- 1.1 training7.247realmedia.com
|
2117
|
+
server:
|
2118
|
+
- Apache-Coyote/1.1
|
2119
|
+
date:
|
2120
|
+
- Fri, 27 May 2011 13:14:01 GMT
|
2121
|
+
transfer-encoding:
|
2122
|
+
- chunked
|
2123
|
+
body: |-
|
2124
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
2125
|
+
<AdXML>
|
2126
|
+
|
2127
|
+
<Response>
|
2128
|
+
<Campaign>Successfully added.</Campaign>
|
2129
|
+
</Response>
|
2130
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
2131
|
+
http_version: "1.1"
|
2132
|
+
- !ruby/struct:VCR::HTTPInteraction
|
2133
|
+
request: !ruby/struct:VCR::Request
|
2134
|
+
method: :post
|
2135
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
2136
|
+
body: |-
|
2137
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
2138
|
+
<AdXML>
|
2139
|
+
<Request type="Campaign">
|
2140
|
+
<Campaign action="add">
|
2141
|
+
<Overview>
|
2142
|
+
<Id>ymneuhzwikqbtojxcplsgfadvr</Id>
|
2143
|
+
<AdvertiserId>bobo</AdvertiserId>
|
2144
|
+
<Name>LOLWUT</Name>
|
2145
|
+
<AgencyId>unknown_agency</AgencyId>
|
2146
|
+
<ProductId>default-product</ProductId>
|
2147
|
+
</Overview>
|
2148
|
+
<Schedule>
|
2149
|
+
<Impressions>999</Impressions>
|
2150
|
+
<Clicks>0</Clicks>
|
2151
|
+
<PriorityLevel>1</PriorityLevel>
|
2152
|
+
<Completion>S</Completion>
|
2153
|
+
<Reach>O</Reach>
|
2154
|
+
<SmoothOrAsap>S</SmoothOrAsap>
|
2155
|
+
</Schedule>
|
2156
|
+
</Campaign>
|
2157
|
+
</Request>
|
2158
|
+
</AdXML>
|
2159
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
2160
|
+
headers:
|
2161
|
+
soapaction:
|
2162
|
+
- "\"OasXmlRequest\""
|
2163
|
+
content-type:
|
2164
|
+
- text/xml;charset=UTF-8
|
2165
|
+
response: !ruby/struct:VCR::Response
|
2166
|
+
status: !ruby/struct:VCR::ResponseStatus
|
2167
|
+
code: 200
|
2168
|
+
message: OK
|
2169
|
+
headers:
|
2170
|
+
x-powered-by:
|
2171
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
2172
|
+
p3p:
|
2173
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
2174
|
+
via:
|
2175
|
+
- 1.1 training7.247realmedia.com
|
2176
|
+
content-type:
|
2177
|
+
- text/xml;charset=UTF-8
|
2178
|
+
date:
|
2179
|
+
- Fri, 27 May 2011 13:14:52 GMT
|
2180
|
+
server:
|
2181
|
+
- Apache-Coyote/1.1
|
2182
|
+
transfer-encoding:
|
2183
|
+
- chunked
|
2184
|
+
body: |-
|
2185
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
2186
|
+
<AdXML>
|
2187
|
+
|
2188
|
+
<Response>
|
2189
|
+
<Campaign>Successfully added.</Campaign>
|
2190
|
+
</Response>
|
2191
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
2192
|
+
http_version: "1.1"
|
2193
|
+
- !ruby/struct:VCR::HTTPInteraction
|
2194
|
+
request: !ruby/struct:VCR::Request
|
2195
|
+
method: :post
|
2196
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
2197
|
+
body: |-
|
2198
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
2199
|
+
<AdXML>
|
2200
|
+
<Request type="Campaign">
|
2201
|
+
<Campaign action="add">
|
2202
|
+
<Overview>
|
2203
|
+
<Id>mhtdnozaqksecvgfwbljxyupri</Id>
|
2204
|
+
<AdvertiserId>bobo</AdvertiserId>
|
2205
|
+
<Name>LOLWUT</Name>
|
2206
|
+
<AgencyId>unknown_agency</AgencyId>
|
2207
|
+
<CampaignManager>lol</CampaignManager>
|
2208
|
+
<ProductId>default-product</ProductId>
|
2209
|
+
</Overview>
|
2210
|
+
<Schedule>
|
2211
|
+
<Impressions>999</Impressions>
|
2212
|
+
<Clicks>0</Clicks>
|
2213
|
+
<Uniques>0</Uniques>
|
2214
|
+
<Weight>10</Weight>
|
2215
|
+
<PriorityLevel>1</PriorityLevel>
|
2216
|
+
<Completion>E</Completion>
|
2217
|
+
<StartDate>2005-12-01</StartDate>
|
2218
|
+
<EndDate>2040-12-01</EndDate>
|
2219
|
+
<Reach>O</Reach>
|
2220
|
+
<DailyImp>99</DailyImp>
|
2221
|
+
<DailyClicks>9</DailyClicks>
|
2222
|
+
<DailyUniq>1</DailyUniq>
|
2223
|
+
<SmoothOrAsap>S</SmoothOrAsap>
|
2224
|
+
<ImpOverrun>2</ImpOverrun>
|
2225
|
+
<CompanionPositions>
|
2226
|
+
<CompanionPosition>B/T</CompanionPosition>
|
2227
|
+
<CompanionPosition>BL/TL</CompanionPosition>
|
2228
|
+
</CompanionPositions>
|
2229
|
+
<StrictCompanions>Y</StrictCompanions>
|
2230
|
+
<HourOfDay>
|
2231
|
+
<Hour>00</Hour>
|
2232
|
+
<Hour>01</Hour>
|
2233
|
+
<Hour>23</Hour>
|
2234
|
+
</HourOfDay>
|
2235
|
+
<DayOfWeek>
|
2236
|
+
<Day>2</Day>
|
2237
|
+
<Day>3</Day>
|
2238
|
+
<Day>4</Day>
|
2239
|
+
<Day>5</Day>
|
2240
|
+
</DayOfWeek>
|
2241
|
+
<UserTimeZone>Y</UserTimeZone>
|
2242
|
+
<Sections>
|
2243
|
+
<SectionId>SectionABC</SectionId>
|
2244
|
+
<SectionId>SectionDEF</SectionId>
|
2245
|
+
</Sections>
|
2246
|
+
</Schedule>
|
2247
|
+
</Campaign>
|
2248
|
+
</Request>
|
2249
|
+
</AdXML>
|
2250
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
2251
|
+
headers:
|
2252
|
+
content-type:
|
2253
|
+
- text/xml;charset=UTF-8
|
2254
|
+
soapaction:
|
2255
|
+
- "\"OasXmlRequest\""
|
2256
|
+
response: !ruby/struct:VCR::Response
|
2257
|
+
status: !ruby/struct:VCR::ResponseStatus
|
2258
|
+
code: 200
|
2259
|
+
message: OK
|
2260
|
+
headers:
|
2261
|
+
x-powered-by:
|
2262
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
2263
|
+
p3p:
|
2264
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
2265
|
+
content-type:
|
2266
|
+
- text/xml;charset=UTF-8
|
2267
|
+
via:
|
2268
|
+
- 1.1 training7.247realmedia.com
|
2269
|
+
server:
|
2270
|
+
- Apache-Coyote/1.1
|
2271
|
+
date:
|
2272
|
+
- Fri, 27 May 2011 13:14:55 GMT
|
2273
|
+
transfer-encoding:
|
2274
|
+
- chunked
|
2275
|
+
body: |-
|
2276
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
2277
|
+
<AdXML>
|
2278
|
+
|
2279
|
+
<Response>
|
2280
|
+
<Campaign>Successfully added.</Campaign>
|
2281
|
+
</Response>
|
2282
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
2283
|
+
http_version: "1.1"
|
2284
|
+
- !ruby/struct:VCR::HTTPInteraction
|
2285
|
+
request: !ruby/struct:VCR::Request
|
2286
|
+
method: :post
|
2287
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
2288
|
+
body: |-
|
2289
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
2290
|
+
<AdXML>
|
2291
|
+
<Request type="Campaign">
|
2292
|
+
<Campaign action="add">
|
2293
|
+
<Overview>
|
2294
|
+
<Id>dbnewgtsqrvyjlhcfkizumpxoa</Id>
|
2295
|
+
<AdvertiserId>bobo</AdvertiserId>
|
2296
|
+
<Name>LOLWUT</Name>
|
2297
|
+
<AgencyId>unknown_agency</AgencyId>
|
2298
|
+
<ProductId>default-product</ProductId>
|
2299
|
+
</Overview>
|
2300
|
+
<Schedule>
|
2301
|
+
<Impressions>999</Impressions>
|
2302
|
+
<Clicks>0</Clicks>
|
2303
|
+
<PriorityLevel>1</PriorityLevel>
|
2304
|
+
<Completion>S</Completion>
|
2305
|
+
<Reach>O</Reach>
|
2306
|
+
<SmoothOrAsap>S</SmoothOrAsap>
|
2307
|
+
</Schedule>
|
2308
|
+
</Campaign>
|
2309
|
+
</Request>
|
2310
|
+
</AdXML>
|
2311
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
2312
|
+
headers:
|
2313
|
+
soapaction:
|
2314
|
+
- "\"OasXmlRequest\""
|
2315
|
+
content-type:
|
2316
|
+
- text/xml;charset=UTF-8
|
2317
|
+
response: !ruby/struct:VCR::Response
|
2318
|
+
status: !ruby/struct:VCR::ResponseStatus
|
2319
|
+
code: 200
|
2320
|
+
message: OK
|
2321
|
+
headers:
|
2322
|
+
x-powered-by:
|
2323
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
2324
|
+
p3p:
|
2325
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
2326
|
+
via:
|
2327
|
+
- 1.1 training7.247realmedia.com
|
2328
|
+
content-type:
|
2329
|
+
- text/xml;charset=UTF-8
|
2330
|
+
date:
|
2331
|
+
- Fri, 27 May 2011 13:17:02 GMT
|
2332
|
+
server:
|
2333
|
+
- Apache-Coyote/1.1
|
2334
|
+
transfer-encoding:
|
2335
|
+
- chunked
|
2336
|
+
body: |-
|
2337
|
+
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:OasXmlRequestResponse xmlns:ns1="http://api.oas.tfsm.com/"><result><?xml version='1.0'?>
|
2338
|
+
<AdXML>
|
2339
|
+
|
2340
|
+
<Response>
|
2341
|
+
<Campaign>Successfully added.</Campaign>
|
2342
|
+
</Response>
|
2343
|
+
</AdXML></result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
|
2344
|
+
http_version: "1.1"
|
2345
|
+
- !ruby/struct:VCR::HTTPInteraction
|
2346
|
+
request: !ruby/struct:VCR::Request
|
2347
|
+
method: :post
|
2348
|
+
uri: https://training7.247realmedia.com:443/oasapi/OaxApi
|
2349
|
+
body: |-
|
2350
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:n1="http://api.oas.tfsm.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><n1:OasXmlRequest xmlns:n1="http://api.oas.tfsm.com/"><String_1>Abril</String_1><String_2>dev_abril</String_2><String_3>d3v@p1SgpD</String_3><String_4><?xml version="1.0" encoding="UTF-8"?>
|
2351
|
+
<AdXML>
|
2352
|
+
<Request type="Campaign">
|
2353
|
+
<Campaign action="add">
|
2354
|
+
<Overview>
|
2355
|
+
<Id>cavxkbyeiwsnmpflqgruodztjh</Id>
|
2356
|
+
<AdvertiserId>bobo</AdvertiserId>
|
2357
|
+
<Name>LOLWUT</Name>
|
2358
|
+
<AgencyId>unknown_agency</AgencyId>
|
2359
|
+
<Description>lolwut</Description>
|
2360
|
+
<CampaignManager>lol</CampaignManager>
|
2361
|
+
<ProductId>default-product</ProductId>
|
2362
|
+
<InternalQuickReport>short</InternalQuickReport>
|
2363
|
+
<ExternalQuickReport>short</ExternalQuickReport>
|
2364
|
+
</Overview>
|
2365
|
+
<Schedule>
|
2366
|
+
<Impressions>999</Impressions>
|
2367
|
+
<Clicks>0</Clicks>
|
2368
|
+
<Uniques>0</Uniques>
|
2369
|
+
<Weight>10</Weight>
|
2370
|
+
<PriorityLevel>1</PriorityLevel>
|
2371
|
+
<Completion>E</Completion>
|
2372
|
+
<StartDate>2005-12-01</StartDate>
|
2373
|
+
<EndDate>2040-12-01</EndDate>
|
2374
|
+
<Reach>O</Reach>
|
2375
|
+
<DailyImp>99</DailyImp>
|
2376
|
+
<DailyClicks>9</DailyClicks>
|
2377
|
+
<DailyUniq>1</DailyUniq>
|
2378
|
+
<SmoothOrAsap>S</SmoothOrAsap>
|
2379
|
+
<ImpOverrun>2</ImpOverrun>
|
2380
|
+
<CompanionPositions>
|
2381
|
+
<CompanionPosition>B/T</CompanionPosition>
|
2382
|
+
<CompanionPosition>BL/TL</CompanionPosition>
|
2383
|
+
</CompanionPositions>
|
2384
|
+
<StrictCompanions>Y</StrictCompanions>
|
2385
|
+
<HourOfDay>
|
2386
|
+
<Hour>00</Hour>
|
2387
|
+
<Hour>01</Hour>
|
2388
|
+
<Hour>23</Hour>
|
2389
|
+
</HourOfDay>
|
2390
|
+
<DayOfWeek>
|
2391
|
+
<Day>2</Day>
|
2392
|
+
<Day>3</Day>
|
2393
|
+
<Day>4</Day>
|
2394
|
+
<Day>5</Day>
|
2395
|
+
</DayOfWeek>
|
2396
|
+
<UserTimeZone>Y</UserTimeZone>
|
2397
|
+
<Sections>
|
2398
|
+
<SectionId>SectionABC</SectionId>
|
2399
|
+
<SectionId>SectionDEF</SectionId>
|
2400
|
+
</Sections>
|
2401
|
+
</Schedule>
|
2402
|
+
</Campaign>
|
2403
|
+
</Request>
|
2404
|
+
</AdXML>
|
2405
|
+
</String_4></n1:OasXmlRequest></env:Body></env:Envelope>
|
2406
|
+
headers:
|
2407
|
+
content-type:
|
2408
|
+
- text/xml;charset=UTF-8
|
2409
|
+
soapaction:
|
2410
|
+
- "\"OasXmlRequest\""
|
2411
|
+
response: !ruby/struct:VCR::Response
|
2412
|
+
status: !ruby/struct:VCR::ResponseStatus
|
2413
|
+
code: 200
|
2414
|
+
message: OK
|
2415
|
+
headers:
|
2416
|
+
x-powered-by:
|
2417
|
+
- Servlet 2.5; JBoss-5.0/JBossWeb-2.1
|
2418
|
+
p3p:
|
2419
|
+
- CP="NON NID PSAa PSDa OUR IND UNI COM NAV STA",policyref="/w3c/p3p.xml"
|
2420
|
+
content-type:
|
2421
|
+
- text/xml;charset=UTF-8
|
2422
|
+
via:
|
2423
|
+
- 1.1 training7.247realmedia.com
|
2424
|
+
server:
|
2425
|
+
- Apache-Coyote/1.1
|
2426
|
+
date:
|
2427
|
+
- Fri, 27 May 2011 13:17:04 GMT
|
1662
2428
|
transfer-encoding:
|
1663
2429
|
- chunked
|
1664
2430
|
body: |-
|