Hello, I've investigated this behavior in the past and collected a decent amount of debugging information. (The fact that your reports are now deleted would make it more difficult to go through the debugging steps, but that's okay.) Unfortunately, we've yet to come up with any conclusive causes for either empty reports or 404 URLs (which appear to be two distinct issues). If you get to the level of reproducibility where we can schedule some reports at a specific time that some of the engineering team is looking at the backend then that would be useful, but as it is it doesn't sound like it happens often enough.
Based on what's worked for other developers, when you encounter either issue you should be able to call getGzipDownloadUrl() using the same report ID (assuming you haven't deleted it and that it hasn't been bumped from the 15 report queue) and get a new download URL that should give you the full report. Cheers, -Jeff Posnick, AdWords API Team On Jan 5, 4:55 am, Zweitze <[email protected]> wrote: > Hi all, > > Quite often, getGzipDownloadUrl() returns a URL, pointing to a 20 byte > file. When uncompressing that file, you get a file of 0 bytes. > > This happens about once in every 200 reports or so, but now it just > got up a notch - I had four this morning. It happens so often I even > started to log the requestId of the getGzipDownloadUrl() call that > delivered the link to the empty report. The results of this morning > were: > > Report: 608112755. RequestId: a60a7ec4aae2d6bec0d0eee98fc6f6a1. > Report: 586881504. RequestId: 4d7418cd026678190120bd16e9ea0819. > Report: 622048735. RequestId: 205436fc0d6fa04be5e209987f43bf7d. > Report: 527545241. RequestId: 0e8f982e41440161ffe0e1c62fc38368. > > (The last two were only 2 minutes apart!) > > A couple of days ago I experienced something different: the result of > getGzipDownloadUrl() pointed to a non existing URL (404). > Report: 1307454470. RequestId: 16f1bd53ae240b09efaf12d7b3367e32. > > Note on the Report IDs: I have some cleaning up code in action, > calling deleteReport() when the code is done with the report. I hope > you can still find clues. > > I wonder what I can do to prevent this from happening. Wait a while > before calling getGzipDownloadUrl() ? Call getGzipDownloadUrl() again > and try again with that result (assuming I get different URLs?). Or > reschedule that report? > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~----------~----~----~----~------~----~------~--~---
