public class ReportService extends Object
| Constructor and Description |
|---|
ReportService() |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.ads.admanager.axis.v201902.ReportJob |
createReport(com.google.api.ads.admanager.lib.client.AdManagerSession session,
com.google.api.ads.admanager.axis.v201902.Date startDateWithTimezone,
com.google.api.ads.admanager.axis.v201902.Date endDateWithTimezone,
String dimensions,
String columns,
String dimensionAttributes)
Create a Report.
|
protected com.google.api.ads.admanager.axis.v201902.ReportServiceInterface |
createReportService(com.google.api.ads.admanager.lib.client.AdManagerSession session) |
com.google.api.ads.admanager.axis.v201902.ReportJob |
createReportSync(com.google.api.ads.admanager.lib.client.AdManagerSession session,
com.google.api.ads.admanager.axis.v201902.Date startDateWithTimezone,
com.google.api.ads.admanager.axis.v201902.Date endDateWithTimezone,
String dimensions,
String columns,
String dimensionAttributes)
Creates a Report Asynchronously.
|
InputStream |
downloadReport(com.google.api.ads.admanager.lib.client.AdManagerSession session,
com.google.api.ads.admanager.axis.v201902.ReportJob reportJob,
String exportFormat)
Download the specified report.
|
String |
getReportDownloadUrlWithOptions(com.google.api.ads.admanager.lib.client.AdManagerSession session,
Long reportJobId,
com.google.api.ads.admanager.axis.v201902.ReportDownloadOptions reportDownloadOptions)
Retrieved the report download URL using the specified options.
|
com.google.api.ads.admanager.axis.v201902.ReportJobStatus |
getReportStatus(com.google.api.ads.admanager.lib.client.AdManagerSession session,
Long reportId)
Retrieves the Report Status.
|
List<com.google.api.ads.admanager.axis.v201902.SavedQuery> |
getSavedQueriesByStatements(com.google.api.ads.admanager.lib.client.AdManagerSession session,
String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Saved Queries by Statements.
|
protected com.google.api.ads.admanager.axis.v201902.ReportServiceInterface createReportService(com.google.api.ads.admanager.lib.client.AdManagerSession session)
public com.google.api.ads.admanager.axis.v201902.ReportJobStatus getReportStatus(com.google.api.ads.admanager.lib.client.AdManagerSession session,
Long reportId)
throws AdManagerApiException
session - the API sessionreportId - the session IDReportJobStatus the ReportJobStatusAdManagerApiException - if there is a problem with the request made to the API.public com.google.api.ads.admanager.axis.v201902.ReportJob createReportSync(com.google.api.ads.admanager.lib.client.AdManagerSession session,
com.google.api.ads.admanager.axis.v201902.Date startDateWithTimezone,
com.google.api.ads.admanager.axis.v201902.Date endDateWithTimezone,
String dimensions,
String columns,
String dimensionAttributes)
throws AdManagerException
session - the API sessionstartDateWithTimezone - the start date including timezoneendDateWithTimezone - the end date including timezonedimensions - the dimensionscolumns - the columnsdimensionAttributes - the dimension attributesReportJob the report jobAdManagerException - AdManagerApiException if there is a problem with the
request made to the API. AdManagerCommunicationException
if there is a communication problem with the API (such as
timeouts etc.)public com.google.api.ads.admanager.axis.v201902.ReportJob createReport(com.google.api.ads.admanager.lib.client.AdManagerSession session,
com.google.api.ads.admanager.axis.v201902.Date startDateWithTimezone,
com.google.api.ads.admanager.axis.v201902.Date endDateWithTimezone,
String dimensions,
String columns,
String dimensionAttributes)
throws AdManagerException
session - the API sessionstartDateWithTimezone - the start date with timezoneendDateWithTimezone - the end date with timezonedimensions - the dimensionscolumns - the columnsdimensionAttributes - the dimension attributesReportJob the report jobAdManagerException - AdManagerApiException if there is a problem with the
request made to the API. AdManagerCommunicationException
if there is a communication problem with the API (such as
timeouts etc.)public InputStream downloadReport(com.google.api.ads.admanager.lib.client.AdManagerSession session, com.google.api.ads.admanager.axis.v201902.ReportJob reportJob, String exportFormat) throws AdManagerApiException, AdManagerCommunicationException
session - an API sessionreportJob - the API report jobexportFormat - the export formatInputStream the download URLAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public String getReportDownloadUrlWithOptions(com.google.api.ads.admanager.lib.client.AdManagerSession session, Long reportJobId, com.google.api.ads.admanager.axis.v201902.ReportDownloadOptions reportDownloadOptions) throws AdManagerCommunicationException
session - the API sessionreportJobId - the report job IDreportDownloadOptions - the report download optionsString the report download URLAdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)public List<com.google.api.ads.admanager.axis.v201902.SavedQuery> getSavedQueriesByStatements(com.google.api.ads.admanager.lib.client.AdManagerSession session, String queryString, Map<String,Object> queryParams, String queryOrder, Integer queryOffset) throws AdManagerApiException, AdManagerCommunicationException
session - the API sessionqueryString - the queryqueryParams - the query parametersqueryOrder - the orderqueryOffset - the offsetList<SavedQuery> list of SaveQueriesAdManagerApiException - if there is a problem with the request made to the API.AdManagerCommunicationException - if there is a communication problem with the API (such as
timeouts etc.)Copyright © 2010–2019. All rights reserved.