com.google.api.ads.adwords.lib.utils.v201109.axis
Class ReportUtils
java.lang.Object
com.google.api.ads.adwords.lib.utils.v201109.axis.ReportUtils
public class ReportUtils
- extends Object
Single client reports are fetched synchronously like in the following code:
ReportUtils.downloadSingleClientReport(adWordsSession,
reportDefinitionId, outputStream);
The adWordsSession is used to authenticate the request against the
reportDownloadUrl.
- Author:
- Adam Rogal, Kevin Winter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
downloadReport
public static ReportDownloadResponse downloadReport(AdWordsSession adWordsSession,
ReportDefinition reportDefinition)
throws ReportException
- Downloads a report to the provided output stream. On success, the
outputStream will be flushed and closed.
- Parameters:
adWordsSession - reportDefinition -
- 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 © 2011. All Rights Reserved.