bluekai 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/bluekai/category.rb +145 -0
- data/lib/bluekai/client.rb +20 -321
- data/lib/bluekai/rule.rb +165 -0
- data/lib/bluekai/user_data.rb +90 -0
- data/lib/bluekai/version.rb +1 -1
- data/lib/bluekai.rb +3 -0
- data/spec/fixtures/signatures/0e01a80ff1ca77f4fd32b58ff48310168539a9a26e4ef527042b7bab78d4648a +1 -0
- data/spec/fixtures/signatures/7fe2b3662915bf82890e1fe870480885e0744b12832569c5d7017a0fc42d5527 +1 -0
- data/spec/fixtures/signatures/8cd7ba76199d2b34be042841a2dd69310619dcac0f3dd4f24bae6b5fb5f9e302 +1 -0
- data/spec/fixtures/signatures/95768bffa5416007061da13a2a0368e52a4bea3451ac2dfede43f6a6841ac402 +1 -0
- data/spec/fixtures/vcr_cassettes/{Bluekai_Client → Bluekai_Category}/creates_a_category.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Bluekai_Category/lists_4_categories.yml +104 -0
- data/spec/fixtures/vcr_cassettes/{Bluekai_Client → Bluekai_Category}/reads_a_category_and_its_reach.yml +1616 -1610
- data/spec/fixtures/vcr_cassettes/{Bluekai_Client → Bluekai_Category}/updates_a_category.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Bluekai_Client/lists_Bluekai_taxonomy_nodes.yml +28225 -27370
- data/spec/fixtures/vcr_cassettes/Bluekai_Client/performs_a_ping.yml +4 -4
- data/spec/fixtures/vcr_cassettes/{Bluekai_Client → Bluekai_Rule}/creates_a_rule.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Bluekai_Rule/lists_10_phint_rules.yml +234 -0
- data/spec/fixtures/vcr_cassettes/{Bluekai_Client → Bluekai_Rule}/reads_a_rule.yml +12 -10
- data/spec/fixtures/vcr_cassettes/{Bluekai_Client → Bluekai_Rule}/updates_a_rule.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Bluekai_UserData/reads_user_information_given_bkuuid.yml +44 -0
- data/spec/lib/bluekai/category_integration_spec.rb +56 -0
- data/spec/lib/bluekai/client_integration_spec.rb +1 -141
- data/spec/lib/bluekai/client_spec.rb +0 -3
- data/spec/lib/bluekai/rule_integration_spec.rb +73 -0
- data/spec/lib/bluekai/user_data_integration_spec.rb +12 -0
- data/spec/spec_helper.rb +3 -2
- data/spec/support/signature_mock.rb +13 -0
- metadata +40 -19
- data/spec/fixtures/vcr_cassettes/Bluekai_Client/lists_10_phint_rules.yml +0 -194
- data/spec/fixtures/vcr_cassettes/Bluekai_Client/lists_4_categories.yml +0 -3569
@@ -0,0 +1,73 @@
|
|
1
|
+
RSpec.describe Bluekai::Rule, :vcr do
|
2
|
+
include_context 'signature_mock'
|
3
|
+
|
4
|
+
it 'creates a rule' do
|
5
|
+
rule_body = {
|
6
|
+
name: 'CONVERSION_TEST_1234',
|
7
|
+
type: 'phint',
|
8
|
+
phints: [{
|
9
|
+
key: 'offer_id',
|
10
|
+
value: 321,
|
11
|
+
operator: 'is'
|
12
|
+
}],
|
13
|
+
category_ids: [421262],
|
14
|
+
site_ids: [23705]
|
15
|
+
}
|
16
|
+
create_response = subject.rule_create(rule_body)
|
17
|
+
expect(create_response).to include(
|
18
|
+
name: 'CONVERSION_TEST_1234',
|
19
|
+
type: 'phint',
|
20
|
+
status: 'active',
|
21
|
+
phints: [{ id: 24110, key: 'offer_id', value: '321', operator: 'is' }],
|
22
|
+
categories: [{ id: 421262, name: 'Action' }],
|
23
|
+
sites: [{ id: 23705, name: 'Cake - Data Collection Tag' }]
|
24
|
+
)
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'updates a rule' do
|
28
|
+
update_body = {
|
29
|
+
name: 'CONVERSION_TEST_321',
|
30
|
+
type: 'phint',
|
31
|
+
phints: [{
|
32
|
+
key: 'offer_id',
|
33
|
+
value: 321,
|
34
|
+
operator: 'contains'
|
35
|
+
}],
|
36
|
+
category_ids: [421262],
|
37
|
+
site_ids: [23705]
|
38
|
+
}
|
39
|
+
|
40
|
+
update_response = subject.rule_update(12490, update_body)
|
41
|
+
|
42
|
+
expect(update_response).to include(
|
43
|
+
name: 'CONVERSION_TEST_321',
|
44
|
+
type: 'phint',
|
45
|
+
status: 'active',
|
46
|
+
phints: [{ id: 24099, key: 'offer_id', value: '321', operator: 'contains' }],
|
47
|
+
categories: [{ id: 421262, name: 'Action' }]
|
48
|
+
)
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'reads a rule' do
|
52
|
+
read_response = subject.rule_read(10380)
|
53
|
+
expect(read_response).to include(
|
54
|
+
categories: [{ id: 421427, name: 'Simulation' },
|
55
|
+
{ id: 421262, name: 'Action' }],
|
56
|
+
created_at: 'Thu Apr 02 09:50:57 EDT 2015',
|
57
|
+
id: 10380,
|
58
|
+
name: 'CONVERSION_ACTION_SIMULATION_9126',
|
59
|
+
phints: [{ id: 14420, key: 'offer_id', value: '9126', operator: 'is' },
|
60
|
+
{ id: 17150, key: 'event', value: 'conversion', operator: 'is' }],
|
61
|
+
status: 'active',
|
62
|
+
type: 'phint'
|
63
|
+
)
|
64
|
+
end
|
65
|
+
|
66
|
+
it 'lists 10 phint rules' do
|
67
|
+
rule_list = subject.rule_list(offset: 0, size: 10, type: 'phint')
|
68
|
+
expect(rule_list.count).to eq(10)
|
69
|
+
expect(rule_list).to all(include(
|
70
|
+
type: 'phint'
|
71
|
+
))
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
RSpec.describe Bluekai::UserData, :vcr do
|
2
|
+
include_context 'signature_mock'
|
3
|
+
|
4
|
+
it 'reads user information given bkuuid' do
|
5
|
+
user_read_response = subject.user_data(16161, userid: '9BKOJXy999OyJaaD')
|
6
|
+
expect(user_read_response).to include(
|
7
|
+
status: 200,
|
8
|
+
msg: 'ok',
|
9
|
+
categories: []
|
10
|
+
)
|
11
|
+
end
|
12
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
require 'codeclimate-test-reporter'
|
2
2
|
CodeClimate::TestReporter.start
|
3
3
|
|
4
|
+
require 'bluekai'
|
5
|
+
require 'support/signature_mock'
|
6
|
+
|
4
7
|
require 'vcr'
|
5
8
|
# This file was generated by the `rspec --init` command. Conventionally, all
|
6
9
|
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
@@ -92,7 +95,6 @@ end
|
|
92
95
|
|
93
96
|
ENV['BLUEKAI_API_USER_KEY'] ||= 'bluekai-api-user-key'
|
94
97
|
ENV['BLUEKAI_API_PRIVATE_KEY'] ||= 'bluekai-private-key'
|
95
|
-
ENV['BLUEKAI_DOMAIN'] ||= 'bluekai-domain.com'
|
96
98
|
ENV['BLUEKAI_PARTNER_ID'] ||= '2695'
|
97
99
|
|
98
100
|
VCR.configure do |c|
|
@@ -100,7 +102,6 @@ VCR.configure do |c|
|
|
100
102
|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
|
101
103
|
c.hook_into :webmock
|
102
104
|
c.filter_sensitive_data('bluekai-api-user-key') { ENV['BLUEKAI_API_USER_KEY'] }
|
103
|
-
c.filter_sensitive_data('bluekai-domain.com') { ENV['BLUEKAI_DOMAIN'] }
|
104
105
|
c.filter_sensitive_data('bluekai-private-key') { ENV['BLUEKAI_API_PRIVATE_KEY'] }
|
105
106
|
c.filter_sensitive_data('bluekai-partner-id') { ENV['BLUEKAI_PARTNER_ID'] }
|
106
107
|
# allow codeclimate-test-reporter to call the mothership
|
@@ -0,0 +1,13 @@
|
|
1
|
+
RSpec.shared_context 'signature_mock' do
|
2
|
+
before :each do
|
3
|
+
allow(subject).to receive(:sign).and_wrap_original do |method, http_method, path, query, body|
|
4
|
+
string_to_sign = http_method + path + query.to_s + body.to_s
|
5
|
+
hash = Digest::SHA256.hexdigest(string_to_sign)
|
6
|
+
file = "spec/fixtures/signatures/#{hash}"
|
7
|
+
next File.read(file) if File.exist?(file)
|
8
|
+
result = method.call(http_method, path, query, body)
|
9
|
+
File.open(file, 'w+') { |f| f.write(result) }
|
10
|
+
result
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bluekai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ad2games GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -111,9 +111,13 @@ files:
|
|
111
111
|
- bluekai.gemspec
|
112
112
|
- circle.yml
|
113
113
|
- lib/bluekai.rb
|
114
|
+
- lib/bluekai/category.rb
|
114
115
|
- lib/bluekai/client.rb
|
115
116
|
- lib/bluekai/error.rb
|
117
|
+
- lib/bluekai/rule.rb
|
118
|
+
- lib/bluekai/user_data.rb
|
116
119
|
- lib/bluekai/version.rb
|
120
|
+
- spec/fixtures/signatures/0e01a80ff1ca77f4fd32b58ff48310168539a9a26e4ef527042b7bab78d4648a
|
117
121
|
- spec/fixtures/signatures/1952b4f61dbd2187b5589dfc390af2ee985ca6f43020081d420f5d9ca025532e
|
118
122
|
- spec/fixtures/signatures/26d52d2e4c2d42ba54ec6b4de9e67d9b566aeb8224c28261d1d133b7fb3c3436
|
119
123
|
- spec/fixtures/signatures/2db01e685f73149994efc9824c10fa91e704fb7256d748c4305101513444f49f
|
@@ -121,25 +125,33 @@ files:
|
|
121
125
|
- spec/fixtures/signatures/3c33aa44e5fbea304ffda0390ac2e413a02d187d5425f67c3edab34684b2b18f
|
122
126
|
- spec/fixtures/signatures/691325444d07bf08ce72b95283f8a8fd74e19f6963263e5367772b7633cbeab0
|
123
127
|
- spec/fixtures/signatures/78f40f967bf9cb1ae030412e7c28267a8050926a538226c685fb2dec6f23b44a
|
128
|
+
- spec/fixtures/signatures/7fe2b3662915bf82890e1fe870480885e0744b12832569c5d7017a0fc42d5527
|
124
129
|
- spec/fixtures/signatures/847da153b01c0ea4e3beeeb00f5552c3dd773227ee5aeaf5c9ff9a620adae324
|
130
|
+
- spec/fixtures/signatures/8cd7ba76199d2b34be042841a2dd69310619dcac0f3dd4f24bae6b5fb5f9e302
|
131
|
+
- spec/fixtures/signatures/95768bffa5416007061da13a2a0368e52a4bea3451ac2dfede43f6a6841ac402
|
125
132
|
- spec/fixtures/signatures/a49b4d9ac5b30c91f95a907b887f9b8eaf5c7856b844c49d2b937c00d88af63d
|
126
133
|
- spec/fixtures/signatures/a6d578d433ca6f7c84ce9da14c415b3d302bf1da2b87f7666c637419fb784f57
|
127
134
|
- spec/fixtures/signatures/d30077840edb2b580c1c9a4a6659989b8342cfdc439ceef0c984672849288243
|
128
135
|
- spec/fixtures/signatures/d3c90cbaf307901dff229713b703217d7460f3c50400aa981ac20088f58343ad
|
136
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Category/creates_a_category.yml
|
137
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Category/lists_4_categories.yml
|
138
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Category/reads_a_category_and_its_reach.yml
|
139
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Category/updates_a_category.yml
|
129
140
|
- spec/fixtures/vcr_cassettes/Bluekai_Client/_ping/when_we_get_a_pong_from_bluekai/.yml
|
130
|
-
- spec/fixtures/vcr_cassettes/Bluekai_Client/creates_a_category.yml
|
131
|
-
- spec/fixtures/vcr_cassettes/Bluekai_Client/creates_a_rule.yml
|
132
|
-
- spec/fixtures/vcr_cassettes/Bluekai_Client/lists_10_phint_rules.yml
|
133
|
-
- spec/fixtures/vcr_cassettes/Bluekai_Client/lists_4_categories.yml
|
134
141
|
- spec/fixtures/vcr_cassettes/Bluekai_Client/lists_Bluekai_taxonomy_nodes.yml
|
135
142
|
- spec/fixtures/vcr_cassettes/Bluekai_Client/performs_a_ping.yml
|
136
|
-
- spec/fixtures/vcr_cassettes/
|
137
|
-
- spec/fixtures/vcr_cassettes/
|
138
|
-
- spec/fixtures/vcr_cassettes/
|
139
|
-
- spec/fixtures/vcr_cassettes/
|
143
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Rule/creates_a_rule.yml
|
144
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Rule/lists_10_phint_rules.yml
|
145
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Rule/reads_a_rule.yml
|
146
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Rule/updates_a_rule.yml
|
147
|
+
- spec/fixtures/vcr_cassettes/Bluekai_UserData/reads_user_information_given_bkuuid.yml
|
148
|
+
- spec/lib/bluekai/category_integration_spec.rb
|
140
149
|
- spec/lib/bluekai/client_integration_spec.rb
|
141
150
|
- spec/lib/bluekai/client_spec.rb
|
151
|
+
- spec/lib/bluekai/rule_integration_spec.rb
|
152
|
+
- spec/lib/bluekai/user_data_integration_spec.rb
|
142
153
|
- spec/spec_helper.rb
|
154
|
+
- spec/support/signature_mock.rb
|
143
155
|
homepage: ''
|
144
156
|
licenses:
|
145
157
|
- MIT
|
@@ -160,11 +172,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
172
|
version: '0'
|
161
173
|
requirements: []
|
162
174
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.4.
|
175
|
+
rubygems_version: 2.4.6
|
164
176
|
signing_key:
|
165
177
|
specification_version: 4
|
166
178
|
summary: Simple client for the BlueKai API
|
167
179
|
test_files:
|
180
|
+
- spec/fixtures/signatures/0e01a80ff1ca77f4fd32b58ff48310168539a9a26e4ef527042b7bab78d4648a
|
168
181
|
- spec/fixtures/signatures/1952b4f61dbd2187b5589dfc390af2ee985ca6f43020081d420f5d9ca025532e
|
169
182
|
- spec/fixtures/signatures/26d52d2e4c2d42ba54ec6b4de9e67d9b566aeb8224c28261d1d133b7fb3c3436
|
170
183
|
- spec/fixtures/signatures/2db01e685f73149994efc9824c10fa91e704fb7256d748c4305101513444f49f
|
@@ -172,22 +185,30 @@ test_files:
|
|
172
185
|
- spec/fixtures/signatures/3c33aa44e5fbea304ffda0390ac2e413a02d187d5425f67c3edab34684b2b18f
|
173
186
|
- spec/fixtures/signatures/691325444d07bf08ce72b95283f8a8fd74e19f6963263e5367772b7633cbeab0
|
174
187
|
- spec/fixtures/signatures/78f40f967bf9cb1ae030412e7c28267a8050926a538226c685fb2dec6f23b44a
|
188
|
+
- spec/fixtures/signatures/7fe2b3662915bf82890e1fe870480885e0744b12832569c5d7017a0fc42d5527
|
175
189
|
- spec/fixtures/signatures/847da153b01c0ea4e3beeeb00f5552c3dd773227ee5aeaf5c9ff9a620adae324
|
190
|
+
- spec/fixtures/signatures/8cd7ba76199d2b34be042841a2dd69310619dcac0f3dd4f24bae6b5fb5f9e302
|
191
|
+
- spec/fixtures/signatures/95768bffa5416007061da13a2a0368e52a4bea3451ac2dfede43f6a6841ac402
|
176
192
|
- spec/fixtures/signatures/a49b4d9ac5b30c91f95a907b887f9b8eaf5c7856b844c49d2b937c00d88af63d
|
177
193
|
- spec/fixtures/signatures/a6d578d433ca6f7c84ce9da14c415b3d302bf1da2b87f7666c637419fb784f57
|
178
194
|
- spec/fixtures/signatures/d30077840edb2b580c1c9a4a6659989b8342cfdc439ceef0c984672849288243
|
179
195
|
- spec/fixtures/signatures/d3c90cbaf307901dff229713b703217d7460f3c50400aa981ac20088f58343ad
|
196
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Category/creates_a_category.yml
|
197
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Category/lists_4_categories.yml
|
198
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Category/reads_a_category_and_its_reach.yml
|
199
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Category/updates_a_category.yml
|
180
200
|
- spec/fixtures/vcr_cassettes/Bluekai_Client/_ping/when_we_get_a_pong_from_bluekai/.yml
|
181
|
-
- spec/fixtures/vcr_cassettes/Bluekai_Client/creates_a_category.yml
|
182
|
-
- spec/fixtures/vcr_cassettes/Bluekai_Client/creates_a_rule.yml
|
183
|
-
- spec/fixtures/vcr_cassettes/Bluekai_Client/lists_10_phint_rules.yml
|
184
|
-
- spec/fixtures/vcr_cassettes/Bluekai_Client/lists_4_categories.yml
|
185
201
|
- spec/fixtures/vcr_cassettes/Bluekai_Client/lists_Bluekai_taxonomy_nodes.yml
|
186
202
|
- spec/fixtures/vcr_cassettes/Bluekai_Client/performs_a_ping.yml
|
187
|
-
- spec/fixtures/vcr_cassettes/
|
188
|
-
- spec/fixtures/vcr_cassettes/
|
189
|
-
- spec/fixtures/vcr_cassettes/
|
190
|
-
- spec/fixtures/vcr_cassettes/
|
203
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Rule/creates_a_rule.yml
|
204
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Rule/lists_10_phint_rules.yml
|
205
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Rule/reads_a_rule.yml
|
206
|
+
- spec/fixtures/vcr_cassettes/Bluekai_Rule/updates_a_rule.yml
|
207
|
+
- spec/fixtures/vcr_cassettes/Bluekai_UserData/reads_user_information_given_bkuuid.yml
|
208
|
+
- spec/lib/bluekai/category_integration_spec.rb
|
191
209
|
- spec/lib/bluekai/client_integration_spec.rb
|
192
210
|
- spec/lib/bluekai/client_spec.rb
|
211
|
+
- spec/lib/bluekai/rule_integration_spec.rb
|
212
|
+
- spec/lib/bluekai/user_data_integration_spec.rb
|
193
213
|
- spec/spec_helper.rb
|
214
|
+
- spec/support/signature_mock.rb
|
@@ -1,194 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://bluekai-domain.com/Services/WS/classificationRules?bksig=25svR0EJNGSFWHQ/Fh/FsenidKnTBrlDH1%2BpDbw5nGw=&bkuid=bluekai-api-user-key&offset=0&size=10&type=phint
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers: {}
|
10
|
-
response:
|
11
|
-
status:
|
12
|
-
code: 200
|
13
|
-
message: OK
|
14
|
-
headers:
|
15
|
-
Date:
|
16
|
-
- Tue, 07 Apr 2015 14:59:48 GMT
|
17
|
-
Set-Cookie:
|
18
|
-
- JSESSIONID=F614E2E82A4C7D91F97DAABFFF64F2F4; Path=/Services; HttpOnly
|
19
|
-
Content-Type:
|
20
|
-
- application/json
|
21
|
-
Cneonction:
|
22
|
-
- close
|
23
|
-
Transfer-Encoding:
|
24
|
-
- chunked
|
25
|
-
body:
|
26
|
-
encoding: UTF-8
|
27
|
-
string: |-
|
28
|
-
{
|
29
|
-
"rules" : [ {
|
30
|
-
"name" : "CONVERSION_TEST_123",
|
31
|
-
"id" : 12492,
|
32
|
-
"type" : "phint",
|
33
|
-
"status" : "active",
|
34
|
-
"phints" : [ {
|
35
|
-
"id" : 16552,
|
36
|
-
"key" : "offer_id",
|
37
|
-
"value" : "321",
|
38
|
-
"operator" : "is"
|
39
|
-
} ],
|
40
|
-
"partner_id" : bluekai-partner-id,
|
41
|
-
"site_ids" : [ 23705 ],
|
42
|
-
"created_at" : "Tue Apr 07 09:59:35 CDT 2015",
|
43
|
-
"updated_at" : "Tue Apr 07 09:59:35 CDT 2015",
|
44
|
-
"category_ids" : [ 421262 ]
|
45
|
-
}, {
|
46
|
-
"name" : "CONVERSION_TEST_321",
|
47
|
-
"id" : 12490,
|
48
|
-
"type" : "phint",
|
49
|
-
"status" : "active",
|
50
|
-
"phints" : [ {
|
51
|
-
"id" : 16543,
|
52
|
-
"key" : "offer_id",
|
53
|
-
"value" : "321",
|
54
|
-
"operator" : "contains"
|
55
|
-
} ],
|
56
|
-
"partner_id" : bluekai-partner-id,
|
57
|
-
"site_ids" : [ 23705 ],
|
58
|
-
"created_at" : "Tue Apr 07 07:29:29 CDT 2015",
|
59
|
-
"updated_at" : "Tue Apr 07 09:59:47 CDT 2015",
|
60
|
-
"category_ids" : [ 421262 ]
|
61
|
-
}, {
|
62
|
-
"name" : "CONVERSION_MMORPG_9802",
|
63
|
-
"id" : 12465,
|
64
|
-
"type" : "phint",
|
65
|
-
"status" : "active",
|
66
|
-
"phints" : [ {
|
67
|
-
"id" : 16508,
|
68
|
-
"key" : "offer_id",
|
69
|
-
"value" : "9802",
|
70
|
-
"operator" : "is"
|
71
|
-
} ],
|
72
|
-
"partner_id" : bluekai-partner-id,
|
73
|
-
"site_ids" : [ 23705 ],
|
74
|
-
"created_at" : "Thu Apr 02 16:24:07 CDT 2015",
|
75
|
-
"updated_at" : "Thu Apr 02 16:24:07 CDT 2015",
|
76
|
-
"category_ids" : [ 421230 ]
|
77
|
-
}, {
|
78
|
-
"name" : "CONVERSION_ACTION_MMORPG_10978",
|
79
|
-
"id" : 12464,
|
80
|
-
"type" : "phint",
|
81
|
-
"status" : "active",
|
82
|
-
"phints" : [ {
|
83
|
-
"id" : 16507,
|
84
|
-
"key" : "offer_id",
|
85
|
-
"value" : "10978",
|
86
|
-
"operator" : "is"
|
87
|
-
} ],
|
88
|
-
"partner_id" : bluekai-partner-id,
|
89
|
-
"site_ids" : [ 23705 ],
|
90
|
-
"created_at" : "Thu Apr 02 16:23:59 CDT 2015",
|
91
|
-
"updated_at" : "Thu Apr 02 16:23:59 CDT 2015",
|
92
|
-
"category_ids" : [ 421230, 421262 ]
|
93
|
-
}, {
|
94
|
-
"name" : "CONVERSION_CASUAL_SIMULATION_11069",
|
95
|
-
"id" : 12463,
|
96
|
-
"type" : "phint",
|
97
|
-
"status" : "active",
|
98
|
-
"phints" : [ {
|
99
|
-
"id" : 16506,
|
100
|
-
"key" : "offer_id",
|
101
|
-
"value" : "11069",
|
102
|
-
"operator" : "is"
|
103
|
-
} ],
|
104
|
-
"partner_id" : bluekai-partner-id,
|
105
|
-
"site_ids" : [ 23705 ],
|
106
|
-
"created_at" : "Thu Apr 02 16:23:45 CDT 2015",
|
107
|
-
"updated_at" : "Thu Apr 02 16:23:45 CDT 2015",
|
108
|
-
"category_ids" : [ 421427, 422882 ]
|
109
|
-
}, {
|
110
|
-
"name" : "CONVERSION_CASUAL_SIMULATION_11068",
|
111
|
-
"id" : 12462,
|
112
|
-
"type" : "phint",
|
113
|
-
"status" : "active",
|
114
|
-
"phints" : [ {
|
115
|
-
"id" : 16505,
|
116
|
-
"key" : "offer_id",
|
117
|
-
"value" : "11068",
|
118
|
-
"operator" : "is"
|
119
|
-
} ],
|
120
|
-
"partner_id" : bluekai-partner-id,
|
121
|
-
"site_ids" : [ 23705 ],
|
122
|
-
"created_at" : "Thu Apr 02 16:23:34 CDT 2015",
|
123
|
-
"updated_at" : "Thu Apr 02 16:23:34 CDT 2015",
|
124
|
-
"category_ids" : [ 421427, 422882 ]
|
125
|
-
}, {
|
126
|
-
"name" : "CONVERSION_MMORPG_11045",
|
127
|
-
"id" : 12461,
|
128
|
-
"type" : "phint",
|
129
|
-
"status" : "active",
|
130
|
-
"phints" : [ {
|
131
|
-
"id" : 16504,
|
132
|
-
"key" : "offer_id",
|
133
|
-
"value" : "11045",
|
134
|
-
"operator" : "is"
|
135
|
-
} ],
|
136
|
-
"partner_id" : bluekai-partner-id,
|
137
|
-
"site_ids" : [ 23705 ],
|
138
|
-
"created_at" : "Thu Apr 02 16:23:24 CDT 2015",
|
139
|
-
"updated_at" : "Thu Apr 02 16:23:24 CDT 2015",
|
140
|
-
"category_ids" : [ 421230 ]
|
141
|
-
}, {
|
142
|
-
"name" : "CONVERSION_ACTION_MMORPG_10979",
|
143
|
-
"id" : 12460,
|
144
|
-
"type" : "phint",
|
145
|
-
"status" : "active",
|
146
|
-
"phints" : [ {
|
147
|
-
"id" : 16503,
|
148
|
-
"key" : "offer_id",
|
149
|
-
"value" : "10979",
|
150
|
-
"operator" : "is"
|
151
|
-
} ],
|
152
|
-
"partner_id" : bluekai-partner-id,
|
153
|
-
"site_ids" : [ 23705 ],
|
154
|
-
"created_at" : "Thu Apr 02 16:23:16 CDT 2015",
|
155
|
-
"updated_at" : "Thu Apr 02 16:23:16 CDT 2015",
|
156
|
-
"category_ids" : [ 421230, 421262 ]
|
157
|
-
}, {
|
158
|
-
"name" : "CONVERSION_ACTION_10134",
|
159
|
-
"id" : 12459,
|
160
|
-
"type" : "phint",
|
161
|
-
"status" : "active",
|
162
|
-
"phints" : [ {
|
163
|
-
"id" : 16502,
|
164
|
-
"key" : "offer_id",
|
165
|
-
"value" : "10134",
|
166
|
-
"operator" : "is"
|
167
|
-
} ],
|
168
|
-
"partner_id" : bluekai-partner-id,
|
169
|
-
"site_ids" : [ 23705 ],
|
170
|
-
"created_at" : "Thu Apr 02 16:23:02 CDT 2015",
|
171
|
-
"updated_at" : "Thu Apr 02 16:23:02 CDT 2015",
|
172
|
-
"category_ids" : [ 421262 ]
|
173
|
-
}, {
|
174
|
-
"name" : "CONVERSION_ACTION_10085",
|
175
|
-
"id" : 12458,
|
176
|
-
"type" : "phint",
|
177
|
-
"status" : "active",
|
178
|
-
"phints" : [ {
|
179
|
-
"id" : 16501,
|
180
|
-
"key" : "offer_id",
|
181
|
-
"value" : "10085",
|
182
|
-
"operator" : "is"
|
183
|
-
} ],
|
184
|
-
"partner_id" : bluekai-partner-id,
|
185
|
-
"site_ids" : [ 23705 ],
|
186
|
-
"created_at" : "Thu Apr 02 16:22:51 CDT 2015",
|
187
|
-
"updated_at" : "Thu Apr 02 16:22:51 CDT 2015",
|
188
|
-
"category_ids" : [ 421262 ]
|
189
|
-
} ],
|
190
|
-
"total_count" : 2085
|
191
|
-
}
|
192
|
-
http_version:
|
193
|
-
recorded_at: Tue, 07 Apr 2015 14:59:49 GMT
|
194
|
-
recorded_with: VCR 2.9.3
|