dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
21 lines (20 loc) • 1.03 kB
TypeScript
import { DfpUser } from '../lib/dfpUser';
import { DfpService } from '../lib/dfpService';
import { SavedQueryPage } from '../soap/savedQueryPage';
import { Statement } from '../soap/statement';
import { ReportDownloadOptions } from '../soap/reportDownloadOptions';
import { ReportJob } from '../soap/reportJob';
import { ReportJobStatus } from '../soap/reportJobStatus';
export declare class ReportService extends DfpService {
protected static SERVICE_NAME: string;
static ENDPOINT: string;
private static CLASS_MAP;
constructor(user: DfpUser, options?: {
[id: string]: any;
});
getReportDownloadURL(reportJobId: number, exportFormat: string): Promise<string>;
getReportDownloadUrlWithOptions(reportJobId: number, reportDownloadOptions: ReportDownloadOptions): Promise<string>;
getReportJobStatus(reportJobId: number): Promise<ReportJobStatus>;
getSavedQueriesByStatement(filterStatement: Statement): Promise<SavedQueryPage>;
runReportJob(reportJob: ReportJob): Promise<ReportJob>;
}