I am working an project where i need the starting time when an ad request made and end time when ad is completely loaded. So that i can compute latency time for ad. I am using google dfp and doubleclick.
UPDATE: i don't want to call my website from external library like Phantomjs . I want some javascript solution so that i can edit my js files and get the latency time for ad loading. Thanx