AdHocReportDownloadHelper AdHoc reports instead.@Deprecated public class DefinedReportDownloadHelper extends Object
| Constructor and Description |
|---|
DefinedReportDownloadHelper(AdWordsSession session,
String version)
Deprecated.
Constructor also instantiates a ReportUrlConnectionHelper to generate an HttpURLConnection.
|
| Modifier and Type | Method and Description |
|---|---|
ReportDownloadResponse |
downloadReport(long reportDefinitionId)
Deprecated.
Downloads a report and returns a ReportDownloadResponse with the results.
|
public DefinedReportDownloadHelper(AdWordsSession session, String version)
session - to use for requests.version - to use for requests.public ReportDownloadResponse downloadReport(long reportDefinitionId) throws ReportException
reportDefinitionId - to download a report for.ReportDownloadResponse When HTTP request completes. On success, the
outputStream will be flushed and closed.ReportException - If there is any issue making HTTP request with server.Copyright © 2014. All Rights Reserved.