// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/**
* ReportServiceInterface.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201605;
public interface ReportServiceInterface extends java.rmi.Remote {
/**
* Returns the URL at which the report file can be downloaded.
* <p>
* The report will be generated as a gzip archive, containing
* the report file itself.
*
*
* @param reportJobId the ID of the {@link ReportJob}
*
* @param exportFormat the {@link ExportFormat} for the report file
*
* @return the URL for report file download
*/
public java.lang.String getReportDownloadURL(java.lang.Long reportJobId, com.google.api.ads.dfp.axis.v201605.ExportFormat exportFormat) throws java.rmi.RemoteException, com.google.api.ads.dfp.axis.v201605.ApiException;
/**
* Returns the URL at which the report file can be downloaded,
* and allows for customization
* of the downloaded report.
* <p>
* By default, the report will be generated as a gzip archive,
* containing the report file itself.
* This can be changed by setting {@link ReportDownloadOptions#useGzipCompression}
* to false.
*
*
* @param reportJobId the ID of the {@link ReportJob}
*
* @param reportDownloadOptions the {@link ReportDownloadOptions} for
* the request
*
* @return the URL for report file download
*/
public java.lang.String getReportDownloadUrlWithOptions(java.lang.Long reportJobId, com.google.api.ads.dfp.axis.v201605.ReportDownloadOptions reportDownloadOptions) throws java.rmi.RemoteException, com.google.api.ads.dfp.axis.v201605.ApiException;
/**
* Returns the {@link ReportJobStatus} of the report job with
* the specified ID.
*/
public com.google.api.ads.dfp.axis.v201605.ReportJobStatus getReportJobStatus(java.lang.Long reportJobId) throws java.rmi.RemoteException, com.google.api.ads.dfp.axis.v201605.ApiException;
/**
* Initiates the execution of a {@link ReportQuery} on the server.
*
* <p>The following fields are required:
* <ul>
* <li>{@link ReportJob#reportQuery}</li>
* </ul>
*
*
* @param reportJob the report job to run
*
* @return the report job with its ID filled in
*/
public com.google.api.ads.dfp.axis.v201605.ReportJob runReportJob(com.google.api.ads.dfp.axis.v201605.ReportJob reportJob) throws java.rmi.RemoteException, com.google.api.ads.dfp.axis.v201605.ApiException;
}