-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathadvertiser_get.yml
108 lines (108 loc) · 4.91 KB
/
advertiser_get.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
---
http_interactions:
- request:
method: post
uri: https://api-test.appnexus.com/auth
body:
encoding: UTF-8
string: '{"auth":{"username":"<APPNEXUS_USERNAME>","password":"<APPNEXUS_PASSWORD>"}}'
headers:
User-Agent:
- Faraday v0.11.0
Content-Type:
- application/json
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0;no-cache
Content-Length:
- '699'
Content-Type:
- application/json
Date:
- Thu, 09 Feb 2017 02:17:46 GMT
Expires:
- Thu, 19 Nov 1981 08:52:00 GMT
Pragma:
- no-cache
Server:
- Apache
Set-Cookie:
- HBFAPI_SESSID=hbapi%3A171678%3A589bd14b4b9c6%3Anym2; Path=/
X-Route:
- "/auth"
X-Route-Time:
- '1282'
body:
encoding: UTF-8
string: '{"response":{"status":"OK","token":"hbapi:171678:589bd14b4b9c6:nym2","dbg_info":{"instance":"01.hbapi.test104169.nym2","slave_hit":false,"db":"master","parent_dbg_info":{"instance":"01.api.test104169.nym2","slave_hit":false,"db":"master","awesomesauce_cache_used":false,"count_cache_used":false,"uuid":"8ecef284-5dd2-5f05-b6ed-78f696b5b1c3","warnings":[],"time":686.65385246277,"start_microtime":1486606666.2813,"version":"1.17","output_term":"not_found"},"awesomesauce_cache_used":false,"count_cache_used":false,"uuid":"0c28a63f-9942-5fc6-9259-43c5f6c91b7f","warnings":[],"time":1270.2870368958,"start_microtime":1486606666.2567,"version":"1.17.202","slave_lag":1088207,"output_term":"not_found"}}}'
http_version:
recorded_at: Thu, 09 Feb 2017 02:17:46 GMT
- request:
method: get
uri: https://api-test.appnexus.com/advertiser?num_elements=1&start_element=0
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Faraday v0.11.0
Authorization:
- hbapi:171678:589bd14b4b9c6:nym2
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0;no-cache
Content-Length:
- '1719'
Content-Type:
- application/json
Date:
- Thu, 09 Feb 2017 02:17:49 GMT
Expires:
- Thu, 19 Nov 1981 08:52:00 GMT
Pragma:
- no-cache
Server:
- Apache
Set-Cookie:
- HBFAPI_SESSID=hbapi%3A171678%3A589bd14b4b9c6%3Anym2; Path=/
X-Count-Read:
- user:5,member:3,serviceHostUser:2,serviceHostMember:2,hostUser:3,hostMember:3,ip:0
X-Count-Write:
- user:0,member:0,serviceHostUser:0,serviceHostMember:0,hostUser:0,hostMember:0,ip:0
X-Ratelimit-Read:
- '1000'
X-Ratelimit-Service:
- 1000-Default
X-Ratelimit-System:
- 1000-Default
X-Ratelimit-Write:
- '1000'
X-Route:
- "/advertiser"
X-Route-Time:
- '31'
body:
encoding: UTF-8
string: '{"response":{"status":"OK","start_element":0,"num_elements":1,"advertisers":[{"id":595902,"code":null,"name":"Lumosity
US","state":"active","default_brand_id":947,"remarketing_segment_id":7358144,"profile_id":41598291,"control_pct":0,"timezone":"UTC","last_modified":"2016-12-14
01:57:02","member_id":487,"billing_name":null,"billing_phone":null,"billing_address1":null,"billing_address2":null,"billing_city":null,"billing_state":null,"billing_country":null,"billing_zip":null,"default_currency":"USD","use_insertion_orders":true,"time_format":"12-hour","is_malicious":false,"is_mediated":false,"billing_internal_user":null,"default_category":{"id":9,"name":"Education"},"default_brand":{"id":947,"name":"Lumos
Labs Inc","category_id":9},"labels":null,"competitive_brands":null,"competitive_categories":null,"thirdparty_pixels":null,"macros":null,"lifetime_budget":null,"lifetime_budget_imps":null,"daily_budget":null,"daily_budget_imps":null,"enable_pacing":null,"allow_safety_pacing":null,"lifetime_pacing":null,"lifetime_pacing_span":null,"lifetime_pacing_pct":null}],"count":1,"dbg_info":{"instance":"01.hbapi.test104169.nym2","slave_hit":false,"db":"master","user::reads":5,"user::read_limit":1000,"user::read_limit_seconds":60,"user::writes":0,"user::write_limit":1000,"user::write_limit_seconds":60,"reads":3,"read_limit":1000,"read_limit_seconds":60,"writes":0,"write_limit":1000,"write_limit_seconds":60,"awesomesauce_cache_used":false,"count_cache_used":true,"uuid":"e43149a7-df62-5f74-aab6-56ddc90e44b5","warnings":[],"time":21.543979644775,"start_microtime":1486606669.1577,"version":"1.17.202","slave_miss":"no_slaves_found","slave_lag":1088210,"member_last_modified_age":290,"output_term":"advertisers"}}}'
http_version:
recorded_at: Thu, 09 Feb 2017 02:17:47 GMT
recorded_with: VCR 3.0.3