You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
Is it possible to get the loading time and rendering time of creatives in the page using gpt-slot_render_delay or gpt-slot_rendering events ? I have totally four adunits in the page. I wanted to log all the adunit's rendering and loading response time similar to google publisher console's ?googfc does.
The text was updated successfully, but these errors were encountered:
@paulrajj If you haven't stumbled into this yet, I'd suggest taking a look at the global googletag object written by the DFP javascript. specifically googletag.pubads() unfortunately it looks like google will dynamically obfuscate some attributes of the code, but tucked away in there (I had to look at googletag.pubads.oa and was able to find a ton of data, request URL, ad path, timing, response object.
@oaoleif I already tried using googletag.pubads() and its methods. Since the ads rendering time happened over loading of the adunits through the iframe, there is no option to get the response time using googletag.pubads() service.
@paulrajj got it. One other thought (if you haven't tried already) might be to leverage the logger function events (https://github.com/mcountis/dfp-events) and on execution set a variable with the timestamp- then do the calculations on the difference in event timing. I haven't tried it yet myself (hopefully get to it today).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it possible to get the loading time and rendering time of creatives in the page using
gpt-slot_render_delay
orgpt-slot_rendering
events ? I have totally four adunits in the page. I wanted to log all the adunit's rendering and loading response time similar to google publisher console's?googfc
does.The text was updated successfully, but these errors were encountered: