-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathcreative_service_get.yml
214 lines (214 loc) · 11.4 KB
/
creative_service_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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
---
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:
- Wed, 08 Feb 2017 12:58:14 GMT
Expires:
- Thu, 19 Nov 1981 08:52:00 GMT
Pragma:
- no-cache
Server:
- Apache
Set-Cookie:
- HBFAPI_SESSID=hbapi%3A171678%3A589b15e747998%3Anym2; Path=/
X-Route:
- "/auth"
X-Route-Time:
- '1382'
body:
encoding: UTF-8
string: '{"response":{"status":"OK","token":"hbapi:171678:589b15e747998: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":"610e58b4-2bcc-5d35-8698-aa06e3019952","warnings":[],"time":793.51305961609,"start_microtime":1486558694.1659,"version":"1.17","output_term":"not_found"},"awesomesauce_cache_used":false,"count_cache_used":false,"uuid":"b5c103e0-caa6-563c-ae94-190899fd7ea0","warnings":[],"time":1369.6370124817,"start_microtime":1486558694.1406,"version":"1.17.202","slave_lag":1040228,"output_term":"not_found"}}}'
http_version:
recorded_at: Wed, 08 Feb 2017 12:58:13 GMT
- request:
method: get
uri: https://api-test.appnexus.com/creative?num_elements=1&start_element=0
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Faraday v0.11.0
Authorization:
- hbapi:171678:589b15e747998:nym2
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
response:
status:
code: 200
message: OK
headers:
Content-Length:
- '3464'
Content-Type:
- application/json
X-Count-Read:
- user:5,member:3,serviceHostUser:1,serviceHostMember:1,hostUser:1,hostMember:1,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:
- "/creative"
X-Route-Time:
- '68'
body:
encoding: UTF-8
string: '{"response":{"status":"OK","start_element":0,"num_elements":1,"creatives":[{"name":"Fit_Test_Pictograms_300x250","brand_id":947,"media_url":"http:\/\/cdn.adnxs.com\/p\/54\/65\/59\/0d\/5465590d004514adbeae6e849b663c7d.png","id":34761581,"code":null,"code2":null,"member_id":487,"state":"active","click_track_result":"passed","advertiser_id":595902,"publisher_id":null,"format":"image","width":300,"height":250,"click_url":"https:\/\/www.lumosity.com\/landing?refer=7607&sub=${CP_ID}_${CREATIVE_ID}_${TAG_ID}_${EXT_APP_ID}_${REFERER_URL}","flash_click_variable":null,"no_iframes":false,"content":"","original_content":null,"file_name":"Pictograms_TakeFitTest_ChallengeAttMem_300x250.png","track_clicks":true,"audit_status":"audited","macros":"CP_ID","profile_id":null,"audit_feedback":"","is_prohibited":false,"created_on":"2015-09-02
17:58:55","flash_backup_url":"","last_modified":"2017-01-19 05:11:40","is_control":false,"allow_audit":true,"is_expired":false,"creative_upload_status":"completed","backup_upload_status":null,"use_dynamic_click_url":false,"media_subtypes":["banner"],"size_in_bytes":22577,"is_self_audited":false,"no_adservers":false,"text_title":null,"text_description":null,"text_display_url":null,"click_action":"click-to-web","click_target":"https:\/\/www.lumosity.com\/landing?refer=7607&sub=${CP_ID}_${CREATIVE_ID}_${TAG_ID}_${EXT_APP_ID}_${REFERER_URL}","ssl_status":"approved","allow_ssl_audit":true,"media_url_secure":"https:\/\/a248.e.akamai.net\/appnexus.download.akamai.com\/89298\/adnexus-prod\/p\/54\/65\/59\/0d\/5465590d004514adbeae6e849b663c7d.png","content_secure":"","original_content_secure":null,"flash_backup_url_secure":"","is_hosted":true,"content_source":"standard","landing_page_url":"https:\/\/www.lumosity.com\/landing_pages\/942","thirdparty_creative_id":null,"thirdparty_campaign_id":null,"facebook_audit_status":null,"facebook_audit_feedback":null,"custom_request_template":null,"language":{"id":1,"name":"English"},"pop_values":null,"brand":{"id":947,"name":"Lumos
Labs Inc","category_id":9},"template":{"id":4,"name":"Standard","media_subtype_id":1,"format_id":4},"ios_ssl_audit":{"audit_status":"approved","audit_feedback":null},"adx_audit":{"audit_status":"rejected","audit_feedback":"Rejection
Reason: UNSUPPORTED_FLASH_CONTENT, Details: Unsupported flash content."},"thirdparty_page":null,"custom_macros":null,"segments":null,"line_items":null,"competitive_brands":null,"competitive_categories":null,"pixels":null,"mobile":{"alternative_landing_page_url":""},"video_attribute":null,"media_assets":null,"sla":null,"thirdparty_pixels":null,"native":null,"click_trackers":null,"impression_trackers":null,"thirdparty_viewability_providers":null,"status":{"user_ready":true,"hosted_assets_association_complete":null},"sla_eta":null,"currency":"USD","type":"standard"}],"count":78,"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":"fead2b79-de61-523c-a897-72a0149d09d9","warnings":[],"time":34.46102142334,"start_microtime":1.4865586961117E9,"version":"1.17.202","slave_miss":"no_slaves_found","slave_lag":1040239,"member_last_modified_age":809,"output_term":"creatives"}}}'
http_version:
recorded_at: Wed, 08 Feb 2017 12:58:14 GMT
- request:
method: post
uri: https://api-test.appnexus.com/advertiser
body:
encoding: UTF-8
string: '{"advertiser":{"name":"rspec advertiser"}}'
headers:
User-Agent:
- Faraday v0.11.0
Authorization:
- hbapi:171678:589b15e747998:nym2
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:
- '1643'
Content-Type:
- application/json
Date:
- Wed, 08 Feb 2017 12:58:16 GMT
Expires:
- Thu, 19 Nov 1981 08:52:00 GMT
Pragma:
- no-cache
Server:
- Apache
Set-Cookie:
- HBFAPI_SESSID=hbapi%3A171678%3A589b15e747998%3Anym2; Path=/
X-Count-Read:
- user:5,member:3,serviceHostUser:1,serviceHostMember:1,hostUser:2,hostMember:2,ip:0
X-Count-Write:
- user:1,member:1,serviceHostUser:1,serviceHostMember:1,hostUser:1,hostMember:1,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:
- '364'
body:
encoding: UTF-8
string: '{"response":{"status":"OK","count":1,"id":1561317,"start_element":0,"num_elements":100,"advertiser":{"id":1561317,"code":null,"name":"rspec
advertiser","state":"active","default_brand_id":null,"remarketing_segment_id":null,"profile_id":null,"control_pct":0,"timezone":"EST5EDT","last_modified":"2017-02-08
12:58:16","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":false,"time_format":"12-hour","is_malicious":false,"is_mediated":false,"billing_internal_user":null,"default_category":null,"default_brand":null,"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},"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":1,"user::write_limit":1000,"user::write_limit_seconds":60,"reads":3,"read_limit":1000,"read_limit_seconds":60,"writes":1,"write_limit":1000,"write_limit_seconds":60,"awesomesauce_cache_used":false,"count_cache_used":false,"uuid":"e596df68-a2f1-5081-95db-4c64d888d630","warnings":[],"time":347.63979911804,"start_microtime":1486558696.5307,"version":"1.17.202","slave_lag":1040239,"member_last_modified_age":1486558696,"output_term":"advertiser"}}}'
http_version:
recorded_at: Wed, 08 Feb 2017 12:58:15 GMT
- request:
method: delete
uri: https://api-test.appnexus.com/advertiser?id=1561317
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Faraday v0.11.0
Authorization:
- hbapi:171678:589b15e747998: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:
- '695'
Content-Type:
- application/json
Date:
- Wed, 08 Feb 2017 12:58:17 GMT
Expires:
- Thu, 19 Nov 1981 08:52:00 GMT
Pragma:
- no-cache
Server:
- Apache
Set-Cookie:
- HBFAPI_SESSID=hbapi%3A171678%3A589b15e747998%3Anym2; Path=/
X-Count-Read:
- user:5,member:3,serviceHostUser:1,serviceHostMember:1,hostUser:2,hostMember:2,ip:0
X-Count-Write:
- user:2,member:2,serviceHostUser:2,serviceHostMember:2,hostUser:2,hostMember:2,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:
- '974'
body:
encoding: UTF-8
string: '{"response":{"status":"OK","count":1,"start_element":null,"num_elements":null,"dbg_info":{"instance":"01.hbapi.test104169.nym2","slave_hit":true,"db":"10.3.204.17","user::reads":5,"user::read_limit":1000,"user::read_limit_seconds":60,"user::writes":2,"user::write_limit":1000,"user::write_limit_seconds":60,"reads":3,"read_limit":1000,"read_limit_seconds":60,"writes":2,"write_limit":1000,"write_limit_seconds":60,"awesomesauce_cache_used":false,"count_cache_used":false,"uuid":"3ee7db9c-b504-5ed0-ae48-1c5ed9dfdd2f","warnings":[],"time":958.50014686584,"start_microtime":1486558697.4002,"version":"1.17.202","slave_lag":1040240,"member_last_modified_age":1486558697,"output_term":"not_found"}}}'
http_version:
recorded_at: Wed, 08 Feb 2017 12:58:16 GMT
recorded_with: VCR 3.0.3