Http request response protocol - Deliver Banner Ad


/ Published in: HTML
Save to your folder(s)

Live Header trace of request and response for a banner ad from an OpenX publisher zone. The series of http redirects eventually results in the delivery of a banner ad ie the .jpg at the bottom of the trace.


Copy this code and paste it in your HTML
  1. ---request begin for openx publish zone 659---
  2.  
  3. GET /openads/www/delivery/avw.php?zoneid=659&n=a96f3900 HTTP/1.0
  4. User-Agent: Wget/1.11.3
  5. Accept: */*
  6. Host: po3.realtimematrix.net
  7. Connection: Keep-Alive
  8.  
  9. ---request end---
  10. HTTP request sent, awaiting response...
  11. ---response begin---
  12. HTTP/1.1 302 Found
  13. Date: Sat, 07 Feb 2009 02:51:45 GMT
  14. Server: Apache/2.2.2 (Fedora)
  15. X-Powered-By: PHP/5.1.6
  16. Pragma: no-cache
  17. Cache-Control: private, max-age=0, no-cache
  18. Expires: Mon, 26 Jul 1997 05:00:00 GMT
  19. Set-Cookie: OAID=b867597f93c7f3535ec53a5445b53fac; expires=Sun, 07-Feb-2010 02:51:45 GMT; path=/
  20. P3P: CP="CUR ADM OUR NOR STA NID"
  21. Set-Cookie: OAGEO=US%7CCA%7CBerkeley%7C%7C37.8781%7C-122.271%7C%7C%7C%7C%7C; path=/
  22. Set-Cookie: OAVARS[a96f3900]=a%3A3%3A%7Bs%3A8%3A%22bannerid%22%3Bs%3A3%3A%22343%22%3Bs%3A6%3A%22zoneid%22%3Bs%3A3%3A%22659%22%3Bs%3A6%3A%22oadest%22%3Bs%3A94%3A
  23. %22http%3A%2F%2Fad.doubleclick.net%2Fjump%2FN2870.rtm%2FB3328275.4%3Babr%3D%21ie4%3Babr%3D%21ie5%3Bsz%3D200x40%3Bord%3Db15a952478%22%3B%7D; path=/
  24. Location: http://ad.doubleclick.net/ad/N2870.rtm/B3328275.4;abr=!ie4;abr=!ie5;sz=200x40;ord=b15a952478 ***** the {random} val returned with the 302 to the impression
  25. Content-Length: 0
  26. Connection: close
  27. Content-Type: text/html; charset=UTF-8
  28.  
  29. ---response end---
  30. 302 Found
  31.  
  32. Stored cookie po3.realtimematrix.net -1 (ANY) / <permanent> <insecure> [expiry 2010-02-06 18:51:45] OAID b867597f93c7f3535ec53a5445b53fac
  33.  
  34. Stored cookie po3.realtimematrix.net -1 (ANY) / <session> <insecure> [expiry none] OAGEO US%7CCA%7CBerkeley%7C%7C37.8781%7C-122.271%7C%7C%7C%7C%7C
  35.  
  36. Stored cookie po3.realtimematrix.net -1 (ANY) / <session> <insecure> [expiry none] OAVARS[a96f3900] a%3A3%3A%7Bs%3A8%3A%22bannerid%22%3Bs%3A3%3A%22343%22%3Bs%3A
  37. 6%3A%22zoneid%22%3Bs%3A3%3A%22659%22%3Bs%3A6%3A%22oadest%22%3Bs%3A94%3A%22http%3A%2F%2Fad.doubleclick.net%2Fjump%2FN2870.rtm%2FB3328275.4%3Babr%3D%21ie4%3Babr%3
  38. D%21ie5%3Bsz%3D200x40%3Bord%3Db15a952478%22%3B%7D
  39. Location: http://ad.doubleclick.net/ad/N2870.rtm/B3328275.4;abr=!ie4;abr=!ie5;sz=200x40;ord=b15a952478 [following]
  40. Closed fd 3
  41. --2009-02-06 18:51:41-- http://ad.doubleclick.net/ad/N2870.rtm/B3328275.4;abr=!ie4;abr=!ie5;sz=200x40;ord=b15a952478 ***** the {random} val returned also in the cookie
  42. Resolving ad.doubleclick.net... 216.73.87.52
  43. Caching ad.doubleclick.net => 216.73.87.52
  44. Connecting to ad.doubleclick.net|216.73.87.52|:80... connected.
  45. Created socket 3.
  46. Releasing 0x012e0dd8 (new refcount 1).
  47.  
  48. ---request begin---
  49. GET /ad/N2870.rtm/B3328275.4;abr=!ie4;abr=!ie5;sz=200x40;ord=b15a952478 HTTP/1.0
  50. User-Agent: Wget/1.11.3
  51. Accept: */*
  52. Host: ad.doubleclick.net
  53. Connection: Keep-Alive
  54.  
  55. ---request end---
  56. HTTP request sent, awaiting response...
  57. ---response begin---
  58. HTTP/1.0 302 Moved Temporarily
  59. Content-Length: 0
  60. Date: Sat, 07 Feb 2009 02:51:01 GMT
  61. Location: http://m1.2mdn.net/viewad/836848/200x40.jpg
  62. Cache-Control: no-cache
  63. Pragma: no-cache
  64. Discarded: true
  65. Set-Cookie: test_cookie=CheckForPermission; path=/; domain=.doubleclick.net; expires=Sat, 07 Feb 2009 03:06:01 GMT
  66. P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
  67.  
  68. ---response end---
  69. 302 Moved Temporarily
  70. cdm: 1 2 3 4 5 6 7 8
  71. Stored cookie doubleclick.net -1 (ANY) / <permanent> <insecure> [expiry 2009-02-06 19:06:01] test_cookie CheckForPermission
  72. Location: http://m1.2mdn.net/viewad/836848/200x40.jpg [following]
  73. Closed fd 3
  74. --2009-02-06 18:51:42-- http://m1.2mdn.net/viewad/836848/200x40.jpg
  75. Resolving m1.2mdn.net... 8.22.48.122, 8.22.48.131
  76. Caching m1.2mdn.net => 8.22.48.122 8.22.48.131
  77. Connecting to m1.2mdn.net|8.22.48.122|:80... connected.
  78. Created socket 3.
  79. Releasing 0x012e1d68 (new refcount 1).
  80.  
  81. ---request begin---
  82. GET /viewad/836848/200x40.jpg HTTP/1.0
  83. User-Agent: Wget/1.11.3
  84. Accept: */*
  85. Host: m1.2mdn.net
  86. Connection: Keep-Alive
  87.  
  88. ---request end---
  89. HTTP request sent, awaiting response...
  90. ---response begin---
  91. HTTP/1.0 200 OK
  92. Content-Type: image/jpeg
  93. Content-Length: 9207
  94. Server: DCLK Creative
  95. Last-Modified: Tue, 16 Dec 2008 16:57:14 GMT
  96. Cache-Control: max-age=86400
  97. Date: Sat, 07 Feb 2009 02:51:44 GMT
  98. Connection: keep-alive
  99.  
  100. ---response end---
  101. 200 OK
  102. Registered socket 3 for persistent reuse.
  103. Length: 9207 (9.0K) [image/jpeg]
  104. Saving to: `200x40.jpg.33'
  105.  
  106. </code>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.