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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 261b8c302bc81cb8b4836cd3165a3a1733ad454c
4
- data.tar.gz: a92becdefc65a1bcfdb366dee8c4c13903d4d3b7
3
+ metadata.gz: da80a1e33c7b95e91a5bd942846a9028ae2866e5
4
+ data.tar.gz: 642af06412ab6edf7d3c54cf7d0bc122f497dd8a
5
5
  SHA512:
6
- metadata.gz: 112e8a8644afc6dab8168bf2eb1dde11b8198de32aa154409d1ebda8271136491187dedc398a7d3e24321f128fd504ce60a164587dba89b16cad7f26e5e08c98
7
- data.tar.gz: 5a27e9132ffddb8adcba3df5143aa5263120a3057255b9c7920e5d2bc0b9e46af5a9595040c4c2962bb905fb04a0c3c8e3db7f8beaf416c04425b1be46297d86
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
- conversions: 11
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
- - conversions
165
+ - event_conversions
166
166
  - daily_summary_export
167
167
  - leads_by_affiliate_export
168
168
  - leads_by_buyer
@@ -68,11 +68,11 @@ module SoapyCake
68
68
  end
69
69
 
70
70
  def conversions(opts = {})
71
- run Request.new(:admin, :reports, :conversions, opts.merge(conversion_type: 'conversions'))
71
+ run event_conversions_request('macro_event_conversions', opts)
72
72
  end
73
73
 
74
74
  def events(opts = {})
75
- run Request.new(:admin, :reports, :conversions, opts.merge(conversion_type: 'events'))
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
@@ -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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SoapyCake
4
- VERSION = '2.1.6'
4
+ VERSION = '2.2.1'
5
5
  end
@@ -2,26 +2,32 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://cake-partner-domain.com/api/11/reports.asmx
5
+ uri: https://cake-partner-domain.com/api/17/reports.asmx
6
6
  body:
7
- encoding: UTF-8
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/11/">
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:Conversions>
13
+ <cake:EventConversions>
14
14
  <cake:api_key>cake-api-key</cake:api_key>
15
- <cake:start_date>2015-04-11T02:00:00</cake:start_date>
16
- <cake:end_date>2015-04-12T02:00:00</cake:end_date>
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:conversion_type>conversions</cake:conversion_type>
19
- </cake:Conversions>
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
- Server:
35
- - Microsoft-IIS/8.0
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
- Date:
41
- - Thu, 07 May 2015 09:36:54 GMT
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+PENvbnZlcnNp
52
- b25zUmVzcG9uc2UgeG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AuMDAw
127
+ MDwvYW1vdW50Pjxmb3JtYXR0ZWRfYW1vdW50PuKCrDAuMDA8L2Zvcm1hdHRl
128
+ ZF9hbW91bnQ+PC9vcmRlcl90b3RhbD48ZXZlbnRfY29udmVyc2lvbl9zY29y
129
+ ZSB4c2k6bmlsPSJ0cnVlIiAvPjxub3RlPlRlc3QgY3JlYXRlZCBvbiAyMDE3
130
+ LTA3LTI1IENvbnZlcnNpb24gYWRkZWQgb24gNy8yPC9ub3RlPjwvZXZlbnRf
131
+ Y29udmVyc2lvbj48L2V2ZW50X2NvbnZlcnNpb25zPjwvRXZlbnRDb252ZXJz
132
+ aW9uc1Jlc3VsdD48L0V2ZW50Q29udmVyc2lvbnNSZXNwb25zZT48L3NvYXA6
133
+ Qm9keT48L3NvYXA6RW52ZWxvcGU+
160
134
  http_version:
161
- recorded_at: Thu, 07 May 2015 09:37:00 GMT
162
- recorded_with: VCR 2.9.3
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, 4, 11),
60
- end_date: Date.new(2015, 4, 12),
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(:cake_opts) { { conversion_type: 'conversions' } }
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) { :conversions }
123
- let(:cake_opts) { { conversion_type: 'events' } }
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.6
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-07-26 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport