Okay, after following up with Pete a bit off-thread, I think I have
enough information to file an issue with the core engineering team.
Basically, the behavior he was seeing is that he'd call
getReportDownloadUrl() for a recently-completed report job id, get a
URL back, and then upon downloading the URL find that there was no
content. I asked Pete to try calling getReportDownloadUrl() a second
time for the same report job id, and upon downloading that new URL the
report content was there. Additionally, the report is properly
accessible via the web interface's Report Center (ignore my previous
message about not being able to find it there).
This is obviously going to be a bit more difficult to debug than if,
for example, there was something about a given report job id that
caused it to always lead to a download URL that pointed to nothing,
but we'll see what we can do. It actually sounds like it may have some
similarities to another open issue described at
http://groups.google.com/group/adwords-api/browse_thread/thread/c08c632b8d7d83f8#
I'll post updates with any information I get back from the core
engineering team. In the meantime, apologies for the inconvenience,
and putting in logic to call getReportDownloadUrl() again and get a
new URL when you encounter this failure seems to be a workaround.
Cheers,
-Jeff Posnick, AdWords API Team
> URL:
https://adwords.google.com/api/adwords/ReportDownload?t=AAAAACOvQ1YAA...
>
> ReportID: 598688598
>
> And a bit of our log:
>
> 1204-133949 S Google.pm/412 Creative Report version: Google API v12
> 1204-133950 S Base.pm/1404 Creating Service ReportService
> 1204-133950 S Base.pm/1620 Checking the report status for report
> 598688598
> 1204-133950 S Base.pm/1624 Waiting 10 seconds..
> 1204-134000 S Base.pm/1630 Current status for report 598688598 is
> Completed
> 1204-134000 S Base.pm/1634 Success: finished report(598688598)
> 1204-134000 S Base.pm/1545 Doing a file download from URL
> 1204-134019 S Base.pm/1716 Download URLhttps://
adwords.google.com/api/adwords/ReportDownload?t=AAAAACOvQ1YAA...