soapy_cake 2.1.6 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/api.yml +2 -2
- data/lib/soapy_cake/admin.rb +8 -2
- data/lib/soapy_cake/const.rb +5 -1
- data/lib/soapy_cake/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/SoapyCake_Admin/does_not_parse_a_transaction_id_as_an_integer.yml +99 -125
- data/spec/integration/soapy_cake/admin_spec.rb +2 -2
- data/spec/lib/soapy_cake/admin_spec.rb +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da80a1e33c7b95e91a5bd942846a9028ae2866e5
|
4
|
+
data.tar.gz: 642af06412ab6edf7d3c54cf7d0bc122f497dd8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb8ccda5ad2682c9068a06b7ed5e68cc63b1a6685b4bfc0e54aa11ee084a575950a6ebe662ca4511accb563e530353514bd5830d91b83c266c216225844540a3
|
7
|
+
data.tar.gz: 974c65b039671c8a79e95053c7f5b52045d1deec988fd96f45ffa8dc90ec86090bb5da56fb1ef195a4ad047d09eaf2e7a74f925d238fcb22c7c51a700dcc5145
|
data/api.yml
CHANGED
@@ -79,7 +79,7 @@ versions:
|
|
79
79
|
caps: 4
|
80
80
|
clicks: 11
|
81
81
|
conversion_changes: 10
|
82
|
-
|
82
|
+
event_conversions: 17
|
83
83
|
daily_summary_export: 1
|
84
84
|
leads_by_affiliate_export: 1
|
85
85
|
leads_by_buyer: 4
|
@@ -162,7 +162,7 @@ read_only:
|
|
162
162
|
- caps
|
163
163
|
- clicks
|
164
164
|
- conversion_changes
|
165
|
-
-
|
165
|
+
- event_conversions
|
166
166
|
- daily_summary_export
|
167
167
|
- leads_by_affiliate_export
|
168
168
|
- leads_by_buyer
|
data/lib/soapy_cake/admin.rb
CHANGED
@@ -68,11 +68,11 @@ module SoapyCake
|
|
68
68
|
end
|
69
69
|
|
70
70
|
def conversions(opts = {})
|
71
|
-
run
|
71
|
+
run event_conversions_request('macro_event_conversions', opts)
|
72
72
|
end
|
73
73
|
|
74
74
|
def events(opts = {})
|
75
|
-
run
|
75
|
+
run event_conversions_request('micro_events', opts)
|
76
76
|
end
|
77
77
|
|
78
78
|
def traffic(opts = {})
|
@@ -157,5 +157,11 @@ module SoapyCake
|
|
157
157
|
def blacklist_reasons
|
158
158
|
run Request.new(:admin, :get, :blacklist_reasons, {})
|
159
159
|
end
|
160
|
+
|
161
|
+
private
|
162
|
+
|
163
|
+
def event_conversions_request(event_type, opts)
|
164
|
+
Request.new(:admin, :reports, :event_conversions, opts.merge(event_type: event_type))
|
165
|
+
end
|
160
166
|
end
|
161
167
|
end
|
data/lib/soapy_cake/const.rb
CHANGED
@@ -73,10 +73,14 @@ module SoapyCake
|
|
73
73
|
custom: 4
|
74
74
|
},
|
75
75
|
creative_type_id: {
|
76
|
+
# taken from https://support.getcake.com/support/solutions/articles/5000546087-addedit-creative-api-version-1
|
76
77
|
link: 1,
|
77
78
|
email: 2,
|
78
79
|
image: 3,
|
79
|
-
flash: 4
|
80
|
+
flash: 4,
|
81
|
+
text: 5,
|
82
|
+
html: 6,
|
83
|
+
video: 7
|
80
84
|
},
|
81
85
|
creative_status_id: {
|
82
86
|
active: 1,
|
data/lib/soapy_cake/version.rb
CHANGED
data/spec/fixtures/vcr_cassettes/SoapyCake_Admin/does_not_parse_a_transaction_id_as_an_integer.yml
CHANGED
@@ -2,26 +2,32 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://cake-partner-domain.com/api/
|
5
|
+
uri: https://cake-partner-domain.com/api/17/reports.asmx
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: ASCII-8BIT
|
8
8
|
string: |
|
9
9
|
<?xml version="1.0"?>
|
10
|
-
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:cake="http://cakemarketing.com/api/
|
10
|
+
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:cake="http://cakemarketing.com/api/17/">
|
11
11
|
<env:Header/>
|
12
12
|
<env:Body>
|
13
|
-
<cake:
|
13
|
+
<cake:EventConversions>
|
14
14
|
<cake:api_key>cake-api-key</cake:api_key>
|
15
|
-
<cake:start_date>2015-
|
16
|
-
<cake:end_date>2015-
|
15
|
+
<cake:start_date>2015-05-08T02:00:00</cake:start_date>
|
16
|
+
<cake:end_date>2015-05-09T02:00:00</cake:end_date>
|
17
17
|
<cake:row_limit>1</cake:row_limit>
|
18
|
-
<cake:
|
19
|
-
</cake:
|
18
|
+
<cake:event_type>macro_event_conversions</cake:event_type>
|
19
|
+
</cake:EventConversions>
|
20
20
|
</env:Body>
|
21
21
|
</env:Envelope>
|
22
22
|
headers:
|
23
23
|
Content-Type:
|
24
24
|
- application/soap+xml;charset=UTF-8
|
25
|
+
Accept-Encoding:
|
26
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
27
|
+
Accept:
|
28
|
+
- "*/*"
|
29
|
+
User-Agent:
|
30
|
+
- Ruby
|
25
31
|
response:
|
26
32
|
status:
|
27
33
|
code: 200
|
@@ -29,18 +35,18 @@ http_interactions:
|
|
29
35
|
headers:
|
30
36
|
Cache-Control:
|
31
37
|
- private, max-age=0
|
38
|
+
Content-Length:
|
39
|
+
- '3621'
|
32
40
|
Content-Type:
|
33
41
|
- application/soap+xml; charset=utf-8
|
34
|
-
|
35
|
-
-
|
42
|
+
Date:
|
43
|
+
- Wed, 02 Aug 2017 20:21:59 GMT
|
36
44
|
X-Aspnet-Version:
|
37
45
|
- 4.0.30319
|
38
46
|
X-Powered-By:
|
39
47
|
- ASP.NET
|
40
|
-
|
41
|
-
-
|
42
|
-
Content-Length:
|
43
|
-
- '5081'
|
48
|
+
Connection:
|
49
|
+
- close
|
44
50
|
body:
|
45
51
|
encoding: ASCII-8BIT
|
46
52
|
string: !binary |-
|
@@ -48,115 +54,83 @@ http_interactions:
|
|
48
54
|
bnZlbG9wZSB4bWxuczpzb2FwPSJodHRwOi8vd3d3LnczLm9yZy8yMDAzLzA1
|
49
55
|
L3NvYXAtZW52ZWxvcGUiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcv
|
50
56
|
MjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOnhzZD0iaHR0cDovL3d3
|
51
|
-
dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPjxzb2FwOkJvZHk+
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
L2NvdW50cnlfY29kZT48Y291bnRyeV9uYW1lIHhtbG5zPSJBUEk6aWRfbmFt
|
129
|
-
ZV9zdG9yZSI+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ZXJz
|
132
|
+
aW9uc1Jlc3VsdD48L0V2ZW50Q29udmVyc2lvbnNSZXNwb25zZT48L3NvYXA6
|
133
|
+
Qm9keT48L3NvYXA6RW52ZWxvcGU+
|
160
134
|
http_version:
|
161
|
-
recorded_at:
|
162
|
-
recorded_with: VCR
|
135
|
+
recorded_at: Mon, 15 Jun 2015 12:00:00 GMT
|
136
|
+
recorded_with: VCR 3.0.3
|
@@ -56,8 +56,8 @@ RSpec.describe SoapyCake::Admin do
|
|
56
56
|
|
57
57
|
it 'does not parse a transaction_id as an integer', :vcr do
|
58
58
|
result = admin.conversions(
|
59
|
-
start_date: Date.new(2015,
|
60
|
-
end_date: Date.new(2015,
|
59
|
+
start_date: Date.new(2015, 5, 8),
|
60
|
+
end_date: Date.new(2015, 5, 9),
|
61
61
|
row_limit: 1
|
62
62
|
)
|
63
63
|
|
@@ -106,7 +106,8 @@ RSpec.describe SoapyCake::Admin do
|
|
106
106
|
|
107
107
|
describe '#conversions' do
|
108
108
|
let(:method) { :conversions }
|
109
|
-
let(:
|
109
|
+
let(:cake_method) { :event_conversions }
|
110
|
+
let(:cake_opts) { { event_type: 'macro_event_conversions' } }
|
110
111
|
|
111
112
|
it_behaves_like 'a cake admin method'
|
112
113
|
end
|
@@ -119,8 +120,8 @@ RSpec.describe SoapyCake::Admin do
|
|
119
120
|
|
120
121
|
describe '#events' do
|
121
122
|
let(:method) { :events }
|
122
|
-
let(:cake_method) { :
|
123
|
-
let(:cake_opts) { {
|
123
|
+
let(:cake_method) { :event_conversions }
|
124
|
+
let(:cake_opts) { { event_type: 'micro_events' } }
|
124
125
|
|
125
126
|
it_behaves_like 'a cake admin method'
|
126
127
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soapy_cake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ad2games GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|