UNPKG

gads

Version:

An unofficial JS client library for the SOAP-based DFP Ads API

25 lines (24 loc) 2.34 kB
import { ApiException } from './apiException'; import { GetReportDownloadURL } from './getReportDownloadURL'; import { GetReportDownloadURLResponse } from './getReportDownloadURLResponse'; import { GetReportDownloadUrlWithOptions } from './getReportDownloadUrlWithOptions'; import { GetReportDownloadUrlWithOptionsResponse } from './getReportDownloadUrlWithOptionsResponse'; import { GetReportJobStatus } from './getReportJobStatus'; import { GetReportJobStatusResponse } from './getReportJobStatusResponse'; import { GetSavedQueriesByStatement } from './getSavedQueriesByStatement'; import { GetSavedQueriesByStatementResponse } from './getSavedQueriesByStatementResponse'; import { RunReportJob } from './runReportJob'; import { RunReportJobResponse } from './runReportJobResponse'; import { SoapClient } from '../../soap/soapClient'; export interface ReportService extends SoapClient { getReportDownloadURL(getReportDownloadURL: GetReportDownloadURL): Promise<GetReportDownloadURLResponse>; getReportDownloadURL(getReportDownloadURL: GetReportDownloadURL, cb: (err: ApiException, getReportDownloadURLResponse: GetReportDownloadURLResponse) => void): void; getReportDownloadUrlWithOptions(getReportDownloadUrlWithOptions: GetReportDownloadUrlWithOptions): Promise<GetReportDownloadUrlWithOptionsResponse>; getReportDownloadUrlWithOptions(getReportDownloadUrlWithOptions: GetReportDownloadUrlWithOptions, cb: (err: ApiException, getReportDownloadUrlWithOptionsResponse: GetReportDownloadUrlWithOptionsResponse) => void): void; getReportJobStatus(getReportJobStatus: GetReportJobStatus): Promise<GetReportJobStatusResponse>; getReportJobStatus(getReportJobStatus: GetReportJobStatus, cb: (err: ApiException, getReportJobStatusResponse: GetReportJobStatusResponse) => void): void; getSavedQueriesByStatement(getSavedQueriesByStatement: GetSavedQueriesByStatement): Promise<GetSavedQueriesByStatementResponse>; getSavedQueriesByStatement(getSavedQueriesByStatement: GetSavedQueriesByStatement, cb: (err: ApiException, getSavedQueriesByStatementResponse: GetSavedQueriesByStatementResponse) => void): void; runReportJob(runReportJob: RunReportJob): Promise<RunReportJobResponse>; runReportJob(runReportJob: RunReportJob, cb: (err: ApiException, runReportJobResponse: RunReportJobResponse) => void): void; }