com.google.api.ads.adwords.lib.utils
Class DefinedReportDownloadHelper
java.lang.Object
com.google.api.ads.adwords.lib.utils.DefinedReportDownloadHelper
Deprecated. Use AdHocReportDownloadHelper AdHoc reports instead.
@Deprecated
public class DefinedReportDownloadHelper
- extends Object
Helper class that downloads Defined ReportDefinitions by Id.
- Author:
- Kevin Winter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefinedReportDownloadHelper
public DefinedReportDownloadHelper(AdWordsSession session,
String version)
- Deprecated.
- Constructor also instantiates a ReportUrlConnectionHelper to generate an HttpURLConnection.
- Parameters:
session - to use for requests.version - to use for requests.
downloadReport
public ReportDownloadResponse downloadReport(long reportDefinitionId)
throws ReportException
- Deprecated.
- Downloads a report and returns a ReportDownloadResponse with the results.
- Parameters:
reportDefinitionId - to download a report for.
- Returns:
ReportDownloadResponse When HTTP request completes. On success, the
outputStream will be flushed and closed.
- Throws:
ReportException - If there is any issue making HTTP request with server.
Copyright © 2012. All Rights Reserved.